#CFB94B#CFB94B

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

Color values

HEX#CFB94B
RGBrgb(207, 185, 75)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 10.6%, 63.8%, 18.8%)
CIE-LABlab(75.12, -4.95, 56.95)
CIE-LCHlch(75.12, 57.16, 94.97°)
OKLaboklab(78.39% -0.0181 0.1296)
OKLCHoklch(78.39% 0.131 98)
XYZxyz(44.3530, 48.4734, 13.6753)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB94B #4B61CF
analogous
#CF774B #CFB94B #A3CF4B
triadic
#CFB94B #4BCFB9 #B94BCF
tetradic
#CFB94B #4BCF77 #4B61CF #CF4BA3
square
#CFB94B #4BCF77 #4B61CF #CF4BA3
split-complementary
#CFB94B #4BA3CF #774BCF
monochromatic
#7E6F22 #AE992E #CFB94B #DCCC7B #E9DFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB94B#FFFFFF#000000##000000
##CFB94B1.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)
#CAB53E
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#DEACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb94b;
/* rgb */ color: rgb(207, 185, 75);
/* oklch */ color: oklch(78.4% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#e1cd82',
    500: '#cfb94b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb94b;
$custom-light: #e1cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb94b",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 50,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.1309,
    "h": 98
  },
  "luminance": 0.48471
}

Semantic roles & 50–950 ramp

primary
#CFB94B
secondary
#9FA9D6
accent
#60E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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