#CFD97E#CFD97E

#CFD97E is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.115 H 114.0°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#CFD97E
RGBrgb(207, 217, 126)
HSLhsl(67, 54%, 67%)
HSVhsv(67, 42%, 85%)
CMYKcmyk(4.6%, 0%, 41.9%, 14.9%)
CIE-LABlab(84.17, -16.87, 43.58)
CIE-LCHlch(84.17, 46.73, 111.16°)
OKLaboklab(85.77% -0.0469 0.1055)
OKLCHoklch(85.77% 0.115 114)
XYZxyz(54.3114, 64.3982, 29.3036)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD97E #887ED9
analogous
#D9B57E #CFD97E #A2D97E
triadic
#CFD97E #7ECFD9 #D97ECF
tetradic
#CFD97E #7ED9B5 #887ED9 #D97EA2
square
#CFD97E #7ED9B5 #887ED9 #D97EA2
split-complementary
#CFD97E #7EA2D9 #B57ED9
monochromatic
#9DAA32 #BDCB4F #CFD97E #E1E7AD #F2F5DD

Accessibility & contrast

On white

1.51
#CFD97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#CFD97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD97E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD97E#FFFFFF#000000##000000
##CFD97E1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D177
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#D9D0C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd97e;
/* rgb */ color: rgb(207, 217, 126);
/* oklch */ color: oklch(85.8% 0.115 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe4a5',
    500: '#cfd97e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd97e;
$custom-light: #dfe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd97e",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 66.593,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85765,
    "c": 0.11548,
    "h": 114
  },
  "luminance": 0.64397
}

Semantic roles & 50–950 ramp

primary
#CFD97E
secondary
#584EAE
accent
#24C235
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD97E

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

Preview Lab → · Contrast checker → · Palette generator →

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