#CFD07F#CFD07F

#CFD07F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.103 H 109.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CFD07F
RGBrgb(207, 208, 127)
HSLhsl(61, 46%, 66%)
HSVhsv(61, 39%, 82%)
CMYKcmyk(0.5%, 0%, 38.9%, 18.4%)
CIE-LABlab(81.79, -12.25, 40.08)
CIE-LCHlch(81.79, 41.91, 107.00°)
OKLaboklab(83.87% -0.0337 0.0976)
OKLCHoklch(83.87% 0.103 109)
XYZxyz(52.1195, 59.9105, 28.8929)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD07F #807FD0
analogous
#D0A87F #CFD07F #A6D07F
triadic
#CFD07F #7FCFD0 #D07FCF
tetradic
#CFD07F #7FD0A8 #807FD0 #D07FA6
square
#CFD07F #7FD0A8 #807FD0 #D07FA6
split-complementary
#CFD07F #7FA6D0 #A87FD0
monochromatic
#9A9C39 #BEC052 #CFD07F #E0E0AC #F1F1D9

Accessibility & contrast

On white

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

On black

12.98
#CFD07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD07F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD07F#FFFFFF#000000##000000
##CFD07F1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA79
Deuteranopia (green-blind)
#DDCD83
Tritanopia (blue-blind)
#D9C7BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd07f;
/* rgb */ color: rgb(207, 208, 127);
/* oklch */ color: oklch(83.9% 0.103 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdea5',
    500: '#cfd07f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd07f;
$custom-light: #dfdea5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd07f",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 60.741,
    "s": 46.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83872,
    "c": 0.1033,
    "h": 109
  },
  "luminance": 0.59909
}

Semantic roles & 50–950 ramp

primary
#CFD07F
secondary
#5352A1
accent
#2CBA2E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD07F

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

Preview Lab → · Contrast checker → · Palette generator →

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