#CFB94A#CFB94A

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

Color values

HEX#CFB94A
RGBrgb(207, 185, 74)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 10.6%, 64.3%, 18.8%)
CIE-LABlab(75.11, -5.01, 57.37)
CIE-LCHlch(75.11, 57.59, 94.99°)
OKLaboklab(78.38% -0.0184 0.1304)
OKLCHoklch(78.38% 0.132 98)
XYZxyz(44.3191, 48.4598, 13.4965)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB94A #4A60CF
analogous
#CF764A #CFB94A #A3CF4A
triadic
#CFB94A #4ACFB9 #B94ACF
tetradic
#CFB94A #4ACF76 #4A60CF #CF4AA3
square
#CFB94A #4ACF76 #4A60CF #CF4AA3
split-complementary
#CFB94A #4AA3CF #764ACF
monochromatic
#7D6E21 #AE992E #CFB94A #DCCC7A #E9DEAB

Accessibility & contrast

On white

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

On black

10.69
#CFB94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB94A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB94A#FFFFFF#000000##000000
##CFB94A1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb94a;
/* rgb */ color: rgb(207, 185, 74);
/* oklch */ color: oklch(78.4% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#e1cd81',
    500: '#cfb94a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb94a;
$custom-light: #e1cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb94a",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 50.075,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78378,
    "c": 0.13168,
    "h": 98
  },
  "luminance": 0.48458
}

Semantic roles & 50–950 ramp

primary
#CFB94A
secondary
#9FA8D6
accent
#60E146
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB94A

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

Preview Lab → · Contrast checker → · Palette generator →

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