#CFD07A#CFD07A

#CFD07A is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.109 H 109.1°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CFD07A
RGBrgb(207, 208, 122)
HSLhsl(61, 48%, 65%)
HSVhsv(61, 41%, 82%)
CMYKcmyk(0.5%, 0%, 41.3%, 18.4%)
CIE-LABlab(81.72, -12.79, 42.49)
CIE-LCHlch(81.72, 44.38, 106.75°)
OKLaboklab(83.79% -0.0356 0.1028)
OKLCHoklch(83.79% 0.109 109.1)
XYZxyz(51.8016, 59.7833, 27.2191)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD07A #7B7AD0
analogous
#D0A67A #CFD07A #A4D07A
triadic
#CFD07A #7ACFD0 #D07ACF
tetradic
#CFD07A #7AD0A6 #7B7AD0 #D07AA4
square
#CFD07A #7AD0A6 #7B7AD0 #D07AA4
split-complementary
#CFD07A #7AA4D0 #A67AD0
monochromatic
#989936 #BFC04D #CFD07A #DFE0A7 #F0F0D4

Accessibility & contrast

On white

1.62
#CFD07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CFD07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD07A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD07A#FFFFFF#000000##000000
##CFD07A1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#DECD7E
Tritanopia (blue-blind)
#DAC6BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd07a;
/* rgb */ color: rgb(207, 208, 122);
/* oklch */ color: oklch(83.8% 0.109 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdea2',
    500: '#cfd07a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd07a;
$custom-light: #dfdea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd07a",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 122
  },
  "hsl": {
    "h": 60.698,
    "s": 47.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83794,
    "c": 0.10883,
    "h": 109.1
  },
  "luminance": 0.59782
}

Semantic roles & 50–950 ramp

primary
#CFD07A
secondary
#504F9F
accent
#2ABB2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD07A

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

Preview Lab → · Contrast checker → · Palette generator →

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