#CFD98D#CFD98D

#CFD98D is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.0% C 0.099 H 114.6°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#CFD98D
RGBrgb(207, 217, 141)
HSLhsl(68, 50%, 70%)
HSVhsv(68, 35%, 85%)
CMYKcmyk(4.6%, 0%, 35%, 14.9%)
CIE-LABlab(84.39, -15.16, 36.36)
CIE-LCHlch(84.39, 39.39, 112.64°)
OKLaboklab(86.01% -0.0411 0.0897)
OKLCHoklch(86.01% 0.099 114.6)
XYZxyz(55.3529, 64.8148, 34.7886)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD98D #978DD9
analogous
#D9BD8D #CFD98D #A9D98D
triadic
#CFD98D #8DCFD9 #D98DCF
tetradic
#CFD98D #8DD9BD #978DD9 #D98DA9
square
#CFD98D #8DD9BD #978DD9 #D98DA9
split-complementary
#CFD98D #8DA9D9 #BD8DD9
monochromatic
#A1B13B #BCCA5F #CFD98D #E2E8BB #F5F7E8

Accessibility & contrast

On white

1.50
#CFD98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#CFD98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD98D
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD98D#FFFFFF#000000##000000
##CFD98D1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D288
Deuteranopia (green-blind)
#E3D390
Tritanopia (blue-blind)
#D7D1C6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd98d;
/* rgb */ color: rgb(207, 217, 141);
/* oklch */ color: oklch(86.0% 0.099 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee4af',
    500: '#cfd98d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd98d;
$custom-light: #dee4af;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd98d",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 67.895,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86007,
    "c": 0.09865,
    "h": 114.6
  },
  "luminance": 0.64814
}

Semantic roles & 50–950 ramp

primary
#CFD98D
secondary
#665AB0
accent
#28BD3C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD98D

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

Preview Lab → · Contrast checker → · Palette generator →

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