#BFA12D#BFA12D

#BFA12D 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#BFA12D
RGBrgb(191, 161, 45)
HSLhsl(48, 62%, 46%)
HSVhsv(48, 76%, 75%)
CMYKcmyk(0%, 15.7%, 76.4%, 25.1%)
CIE-LABlab(67.09, -0.79, 60.39)
CIE-LCHlch(67.09, 60.39, 90.75°)
OKLaboklab(71.61% -0.0087 0.1322)
OKLCHoklch(71.61% 0.132 93.7)
XYZxyz(34.7063, 36.7576, 7.7490)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA12D #2D4BBF
analogous
#BF582D #BFA12D #94BF2D
triadic
#BFA12D #2DBFA1 #A12DBF
tetradic
#BFA12D #2DBF58 #2D4BBF #BF2D94
square
#BFA12D #2DBF58 #2D4BBF #BF2D94
split-complementary
#BFA12D #2D94BF #582DBF
monochromatic
#5C4D16 #8D7721 #BFA12D #D6BB53 #E2CF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA12D#FFFFFF#000000##000000
##BFA12D1.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)
#B39E17
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#CF948B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa12d;
/* rgb */ color: rgb(191, 161, 45);
/* oklch */ color: oklch(71.6% 0.132 93.7);
Tailwind
colors: {
  custom: {
    50: '#d7bc6f',
    500: '#bfa12d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa12d;
$custom-light: #d7bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa12d",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 47.671,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.13247,
    "h": 93.7
  },
  "luminance": 0.36756
}

Semantic roles & 50–950 ramp

primary
#BFA12D
secondary
#7C8DCB
accent
#64E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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