#CFBC5A#CFBC5A

#CFBC5A is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.121 H 98.5°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CFBC5A
RGBrgb(207, 188, 90)
HSLhsl(50, 55%, 58%)
HSVhsv(50, 57%, 81%)
CMYKcmyk(0%, 9.2%, 56.5%, 18.8%)
CIE-LABlab(76.05, -5.46, 51.19)
CIE-LCHlch(76.05, 51.48, 96.09°)
OKLaboklab(79.17% -0.0178 0.1193)
OKLCHoklch(79.17% 0.121 98.5)
XYZxyz(45.5625, 49.9719, 16.9164)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC5A #5A6DCF
analogous
#CF815A #CFBC5A #A8CF5A
triadic
#CFBC5A #5ACFBC #BC5ACF
tetradic
#CFBC5A #5ACF81 #5A6DCF #CF5AA8
square
#CFBC5A #5ACF81 #5A6DCF #CF5AA8
split-complementary
#CFBC5A #5AA8CF #815ACF
monochromatic
#877827 #B7A235 #CFBC5A #DDCF89 #EBE3B9

Accessibility & contrast

On white

1.91
#CFBC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#CFBC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC5A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC5A#FFFFFF#000000##000000
##CFBC5A1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB850
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#DDB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc5a;
/* rgb */ color: rgb(207, 188, 90);
/* oklch */ color: oklch(79.2% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#e0cf8c',
    500: '#cfbc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc5a;
$custom-light: #e0cf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc5a",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 50.256,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7917,
    "c": 0.12063,
    "h": 98.5
  },
  "luminance": 0.4997
}

Semantic roles & 50–950 ramp

primary
#CFBC5A
secondary
#ABB3DA
accent
#62DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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