#CFC56D#CFC56D

#CFC56D is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.111 H 102.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CFC56D
RGBrgb(207, 197, 109)
HSLhsl(54, 51%, 62%)
HSVhsv(54, 47%, 81%)
CMYKcmyk(0%, 4.8%, 47.3%, 18.8%)
CIE-LABlab(78.64, -8.48, 45.11)
CIE-LCHlch(78.64, 45.90, 100.65°)
OKLaboklab(81.29% -0.0245 0.1078)
OKLCHoklch(81.29% 0.111 102.8)
XYZxyz(48.4599, 54.3035, 22.3940)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC56D #6D77CF
analogous
#CF946D #CFC56D #A8CF6D
triadic
#CFC56D #6DCFC5 #C56DCF
tetradic
#CFC56D #6DCF94 #6D77CF #CF6DA8
square
#CFC56D #6DCF94 #6D77CF #CF6DA8
split-complementary
#CFC56D #6DA8CF #946DCF
monochromatic
#928830 #C0B33F #CFC56D #DED79B #EDEAC9

Accessibility & contrast

On white

1.77
#CFC56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CFC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC56D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC56D#FFFFFF#000000##000000
##CFC56D1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C066
Deuteranopia (green-blind)
#D6C571
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc56d;
/* rgb */ color: rgb(207, 197, 109);
/* oklch */ color: oklch(81.3% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#dfd699',
    500: '#cfc56d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc56d;
$custom-light: #dfd699;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc56d",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 53.878,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81291,
    "c": 0.11055,
    "h": 102.8
  },
  "luminance": 0.54302
}

Semantic roles & 50–950 ramp

primary
#CFC56D
secondary
#485198
accent
#37BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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