#CFBB4D#CFBB4D

#CFBB4D is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.131 H 99.0°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CFBB4D
RGBrgb(207, 187, 77)
HSLhsl(51, 58%, 56%)
HSVhsv(51, 63%, 81%)
CMYKcmyk(0%, 9.7%, 62.8%, 18.8%)
CIE-LABlab(75.66, -5.86, 56.66)
CIE-LCHlch(75.66, 56.96, 95.90°)
OKLaboklab(78.82% -0.0205 0.1293)
OKLCHoklch(78.82% 0.131 99)
XYZxyz(44.8439, 49.3439, 14.1819)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB4D #4D61CF
analogous
#CF7A4D #CFBB4D #A2CF4D
triadic
#CFBB4D #4DCFBB #BB4DCF
tetradic
#CFBB4D #4DCF7A #4D61CF #CF4DA2
square
#CFBB4D #4DCF7A #4D61CF #CF4DA2
split-complementary
#CFBB4D #4DA2CF #7A4DCF
monochromatic
#7F7122 #AF9C2F #CFBB4D #DCCD7D #E9E0AD

Accessibility & contrast

On white

1.93
#CFBB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#CFBB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBB4D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBB4D#FFFFFF#000000##000000
##CFBB4D1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB640
Deuteranopia (green-blind)
#D1BE53
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb4d;
/* rgb */ color: rgb(207, 187, 77);
/* oklch */ color: oklch(78.8% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#e1cf83',
    500: '#cfbb4d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb4d;
$custom-light: #e1cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb4d",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 77
  },
  "hsl": {
    "h": 50.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78823,
    "c": 0.13094,
    "h": 99
  },
  "luminance": 0.49342
}

Semantic roles & 50–950 ramp

primary
#CFBB4D
secondary
#A1A9D7
accent
#5FE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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