#CFB94F#CFB94F

#CFB94F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.128 H 97.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB94F
RGBrgb(207, 185, 79)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 62%, 81%)
CMYKcmyk(0%, 10.6%, 61.8%, 18.8%)
CIE-LABlab(75.16, -4.69, 55.23)
CIE-LCHlch(75.16, 55.42, 94.85°)
OKLaboklab(78.43% -0.0169 0.1266)
OKLCHoklch(78.43% 0.128 97.6)
XYZxyz(44.4942, 48.5299, 14.4191)
Luminance0.4853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB94F #4F65CF
analogous
#CF794F #CFB94F #A5CF4F
triadic
#CFB94F #4FCFB9 #B94FCF
tetradic
#CFB94F #4FCF79 #4F65CF #CF4FA5
square
#CFB94F #4FCF79 #4F65CF #CF4FA5
split-complementary
#CFB94F #4FA5CF #794FCF
monochromatic
#817023 #B19B30 #CFB94F #DCCC7F #E9DFAF

Accessibility & contrast

On white

1.96
#CFB94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CFB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB94F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB94F#FFFFFF#000000##000000
##CFB94F1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D0BC54
Tritanopia (blue-blind)
#DEACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb94f;
/* rgb */ color: rgb(207, 185, 79);
/* oklch */ color: oklch(78.4% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#e1cd84',
    500: '#cfb94f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb94f;
$custom-light: #e1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb94f",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 49.688,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78427,
    "c": 0.12768,
    "h": 97.6
  },
  "luminance": 0.48528
}

Semantic roles & 50–950 ramp

primary
#CFB94F
secondary
#A2ACD7
accent
#62E047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB94F

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

Preview Lab → · Contrast checker → · Palette generator →

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