#CFD07C#CFD07C

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

Color values

HEX#CFD07C
RGBrgb(207, 208, 124)
HSLhsl(61, 47%, 65%)
HSVhsv(61, 40%, 82%)
CMYKcmyk(0.5%, 0%, 40.4%, 18.4%)
CIE-LABlab(81.75, -12.58, 41.53)
CIE-LCHlch(81.75, 43.39, 106.85°)
OKLaboklab(83.83% -0.0349 0.1008)
OKLCHoklch(83.83% 0.107 109.1)
XYZxyz(51.9268, 59.8334, 27.8785)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD07C #7D7CD0
analogous
#D0A77C #CFD07C #A5D07C
triadic
#CFD07C #7CCFD0 #D07CCF
tetradic
#CFD07C #7CD0A7 #7D7CD0 #D07CA5
square
#CFD07C #7CD0A7 #7D7CD0 #D07CA5
split-complementary
#CFD07C #7CA5D0 #A77CD0
monochromatic
#999A37 #BEC04F #CFD07C #E0E0A9 #F0F0D6

Accessibility & contrast

On white

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

On black

12.97
#CFD07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD07C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD07C#FFFFFF#000000##000000
##CFD07C1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA75
Deuteranopia (green-blind)
#DDCD80
Tritanopia (blue-blind)
#DAC7BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd07c;
/* rgb */ color: rgb(207, 208, 124);
/* oklch */ color: oklch(83.8% 0.107 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdea3',
    500: '#cfd07c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd07c;
$custom-light: #dfdea3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd07c",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 124
  },
  "hsl": {
    "h": 60.714,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83825,
    "c": 0.10663,
    "h": 109.1
  },
  "luminance": 0.59832
}

Semantic roles & 50–950 ramp

primary
#CFD07C
secondary
#5150A0
accent
#2BBA2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD07C

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

Preview Lab → · Contrast checker → · Palette generator →

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