#CFB94C#CFB94C

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

Color values

HEX#CFB94C
RGBrgb(207, 185, 76)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 63%, 81%)
CMYKcmyk(0%, 10.6%, 63.3%, 18.8%)
CIE-LABlab(75.13, -4.89, 56.52)
CIE-LCHlch(75.13, 56.73, 94.94°)
OKLaboklab(78.4% -0.0178 0.1289)
OKLCHoklch(78.4% 0.13 97.9)
XYZxyz(44.3875, 48.4872, 13.8570)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB94C #4C62CF
analogous
#CF784C #CFB94C #A3CF4C
triadic
#CFB94C #4CCFB9 #B94CCF
tetradic
#CFB94C #4CCF78 #4C62CF #CF4CA3
square
#CFB94C #4CCF78 #4C62CF #CF4CA3
split-complementary
#CFB94C #4CA3CF #784CCF
monochromatic
#7F6F22 #AF992F #CFB94C #DCCC7C #E9DFAD

Accessibility & contrast

On white

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

On black

10.70
#CFB94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB94C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB94C#FFFFFF#000000##000000
##CFB94C1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb94c;
/* rgb */ color: rgb(207, 185, 76);
/* oklch */ color: oklch(78.4% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#e1cd83',
    500: '#cfb94c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb94c;
$custom-light: #e1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb94c",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 49.924,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78397,
    "c": 0.13011,
    "h": 97.9
  },
  "luminance": 0.48485
}

Semantic roles & 50–950 ramp

primary
#CFB94C
secondary
#A0A9D7
accent
#61E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB94C

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

Preview Lab → · Contrast checker → · Palette generator →

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