#CFD87A#CFD87A

#CFD87A is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.119 H 113.4°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#CFD87A
RGBrgb(207, 216, 122)
HSLhsl(66, 55%, 66%)
HSVhsv(66, 44%, 85%)
CMYKcmyk(4.2%, 0%, 43.5%, 15.3%)
CIE-LABlab(83.85, -16.79, 45.15)
CIE-LCHlch(83.85, 48.17, 110.40°)
OKLaboklab(85.49% -0.0471 0.1088)
OKLCHoklch(85.49% 0.119 113.4)
XYZxyz(53.8015, 63.7831, 27.8857)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD87A #837AD8
analogous
#D8B27A #CFD87A #A0D87A
triadic
#CFD87A #7ACFD8 #D87ACF
tetradic
#CFD87A #7AD8B2 #837AD8 #D87AA0
square
#CFD87A #7AD8B2 #837AD8 #D87AA0
split-complementary
#CFD87A #7AA0D8 #B27AD8
monochromatic
#9BA731 #BECA4B #CFD87A #E0E6A9 #F1F4D9

Accessibility & contrast

On white

1.53
#CFD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#CFD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD87A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD87A#FFFFFF#000000##000000
##CFD87A1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D072
Deuteranopia (green-blind)
#E4D27F
Tritanopia (blue-blind)
#D9CEC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd87a;
/* rgb */ color: rgb(207, 216, 122);
/* oklch */ color: oklch(85.5% 0.119 113.4);
Tailwind
colors: {
  custom: {
    50: '#dfe4a2',
    500: '#cfd87a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd87a;
$custom-light: #dfe4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd87a",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 65.745,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85493,
    "c": 0.11852,
    "h": 113.4
  },
  "luminance": 0.63782
}

Semantic roles & 50–950 ramp

primary
#CFD87A
secondary
#554CAA
accent
#23C233
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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