#CFC56E#CFC56E

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

Color values

HEX#CFC56E
RGBrgb(207, 197, 110)
HSLhsl(54, 50%, 62%)
HSVhsv(54, 47%, 81%)
CMYKcmyk(0%, 4.8%, 46.9%, 18.8%)
CIE-LABlab(78.65, -8.39, 44.64)
CIE-LCHlch(78.65, 45.42, 100.64°)
OKLaboklab(81.31% -0.0241 0.1068)
OKLCHoklch(81.31% 0.11 102.7)
XYZxyz(48.5141, 54.3252, 22.6791)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC56E #6E78CF
analogous
#CF946E #CFC56E #A9CF6E
triadic
#CFC56E #6ECFC5 #C56ECF
tetradic
#CFC56E #6ECF94 #6E78CF #CF6EA9
square
#CFC56E #6ECF94 #6E78CF #CF6EA9
split-complementary
#CFC56E #6EA9CF #946ECF
monochromatic
#928830 #C0B340 #CFC56E #DED79C #EDEACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC56E#FFFFFF#000000##000000
##CFC56E1.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)
#D3C067
Deuteranopia (green-blind)
#D6C572
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc56e;
/* rgb */ color: rgb(207, 197, 110);
/* oklch */ color: oklch(81.3% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#dfd699',
    500: '#cfc56e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc56e;
$custom-light: #dfd699;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc56e",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 53.814,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81305,
    "c": 0.10951,
    "h": 102.7
  },
  "luminance": 0.54324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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