#BFA12E#BFA12E

#BFA12E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.132 H 93.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BFA12E
RGBrgb(191, 161, 46)
HSLhsl(48, 61%, 46%)
HSVhsv(48, 76%, 75%)
CMYKcmyk(0%, 15.7%, 75.9%, 25.1%)
CIE-LABlab(67.10, -0.75, 60.03)
CIE-LCHlch(67.10, 60.04, 90.71°)
OKLaboklab(71.62% -0.0084 0.1316)
OKLCHoklch(71.62% 0.132 93.7)
XYZxyz(34.7258, 36.7654, 7.8516)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA12E #2E4CBF
analogous
#BF592E #BFA12E #95BF2E
triadic
#BFA12E #2EBFA1 #A12EBF
tetradic
#BFA12E #2EBF59 #2E4CBF #BF2E95
square
#BFA12E #2EBF59 #2E4CBF #BF2E95
split-complementary
#BFA12E #2E95BF #592EBF
monochromatic
#5C4E16 #8E7722 #BFA12E #D6BB54 #E2CF86

Accessibility & contrast

On white

2.51
#BFA12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BFA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA12E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA12E#FFFFFF#000000##000000
##BFA12E1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E19
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#CF948B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa12e;
/* rgb */ color: rgb(191, 161, 46);
/* oklch */ color: oklch(71.6% 0.132 93.7);
Tailwind
colors: {
  custom: {
    50: '#d6bc6f',
    500: '#bfa12e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa12e;
$custom-light: #d6bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa12e",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 47.586,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.13191,
    "h": 93.7
  },
  "luminance": 0.36763
}

Semantic roles & 50–950 ramp

primary
#BFA12E
secondary
#7E8ECB
accent
#65E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA12E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BFA12E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva