#CFBB4F#CFBB4F

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

Color values

HEX#CFBB4F
RGBrgb(207, 187, 79)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 9.7%, 61.8%, 18.8%)
CIE-LABlab(75.68, -5.73, 55.80)
CIE-LCHlch(75.68, 56.09, 95.86°)
OKLaboklab(78.84% -0.0199 0.1278)
OKLCHoklch(78.84% 0.129 98.8)
XYZxyz(44.9156, 49.3725, 14.5596)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBB4F #4F63CF
analogous
#CF7B4F #CFBB4F #A3CF4F
triadic
#CFBB4F #4FCFBB #BB4FCF
tetradic
#CFBB4F #4FCF7B #4F63CF #CF4FA3
square
#CFBB4F #4FCF7B #4F63CF #CF4FA3
split-complementary
#CFBB4F #4FA3CF #7B4FCF
monochromatic
#817223 #B19D30 #CFBB4F #DCCE7F #E9E0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBB4F#FFFFFF#000000##000000
##CFBB4F1.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)
#CCB643
Deuteranopia (green-blind)
#D1BE54
Tritanopia (blue-blind)
#DEAEA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfbb4f;
/* rgb */ color: rgb(207, 187, 79);
/* oklch */ color: oklch(78.8% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#e1cf85',
    500: '#cfbb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbb4f;
$custom-light: #e1cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbb4f",
  "rgb": {
    "r": 207,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 50.625,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78842,
    "c": 0.12932,
    "h": 98.8
  },
  "luminance": 0.49371
}

Semantic roles & 50–950 ramp

primary
#CFBB4F
secondary
#A2ABD7
accent
#5FE047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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