#CFD98E#CFD98E

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

Color values

HEX#CFD98E
RGBrgb(207, 217, 142)
HSLhsl(68, 50%, 70%)
HSVhsv(68, 35%, 85%)
CMYKcmyk(4.6%, 0%, 34.6%, 14.9%)
CIE-LABlab(84.40, -15.04, 35.87)
CIE-LCHlch(84.40, 38.89, 112.75°)
OKLaboklab(86.03% -0.0407 0.0886)
OKLCHoklch(86.03% 0.097 114.7)
XYZxyz(55.4276, 64.8447, 35.1823)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD98E #988ED9
analogous
#D9BD8E #CFD98E #A9D98E
triadic
#CFD98E #8ECFD9 #D98ECF
tetradic
#CFD98E #8ED9BD #988ED9 #D98EA9
square
#CFD98E #8ED9BD #988ED9 #D98EA9
split-complementary
#CFD98E #8EA9D9 #BD8ED9
monochromatic
#A1B13C #BCCA60 #CFD98E #E2E8BC #F5F7E8

Accessibility & contrast

On white

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

On black

13.97
#CFD98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD98E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD98E#FFFFFF#000000##000000
##CFD98E1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd98e;
/* rgb */ color: rgb(207, 217, 142);
/* oklch */ color: oklch(86.0% 0.097 114.7);
Tailwind
colors: {
  custom: {
    50: '#dee4b0',
    500: '#cfd98e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd98e;
$custom-light: #dee4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd98e",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 142
  },
  "hsl": {
    "h": 68,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86025,
    "c": 0.09749,
    "h": 114.7
  },
  "luminance": 0.64844
}

Semantic roles & 50–950 ramp

primary
#CFD98E
secondary
#675BB0
accent
#29BD3C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD98E

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

Preview Lab → · Contrast checker → · Palette generator →

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