#CFD598#CFD598

#CFD598 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.080 H 112.7°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CFD598
RGBrgb(207, 213, 152)
HSLhsl(66, 42%, 72%)
HSVhsv(66, 29%, 84%)
CMYKcmyk(2.8%, 0%, 28.6%, 16.5%)
CIE-LABlab(83.51, -11.76, 29.56)
CIE-LCHlch(83.51, 31.81, 111.70°)
OKLaboklab(85.37% -0.0309 0.074)
OKLCHoklch(85.37% 0.08 112.7)
XYZxyz(55.1938, 63.1215, 38.9757)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD598 #9E98D5
analogous
#D5BD98 #CFD598 #B1D598
triadic
#CFD598 #98CFD5 #D598CF
tetradic
#CFD598 #98D5BD #9E98D5 #D598B1
square
#CFD598 #98D5BD #9E98D5 #D598B1
split-complementary
#CFD598 #98B1D5 #BD98D5
monochromatic
#A2AC46 #BBC36D #CFD598 #E3E7C3 #F5F6E9

Accessibility & contrast

On white

1.54
#CFD598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#CFD598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD598
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD598#FFFFFF#000000##000000
##CFD5981.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF94
Deuteranopia (green-blind)
#DED19A
Tritanopia (blue-blind)
#D7CEC5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd598;
/* rgb */ color: rgb(207, 213, 152);
/* oklch */ color: oklch(85.4% 0.080 112.7);
Tailwind
colors: {
  custom: {
    50: '#dee1b6',
    500: '#cfd598',
    950: '#000000',
  },
}
SCSS
$custom: #cfd598;
$custom-light: #dee1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd598",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 152
  },
  "hsl": {
    "h": 65.902,
    "s": 42.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85365,
    "c": 0.08024,
    "h": 112.7
  },
  "luminance": 0.63121
}

Semantic roles & 50–950 ramp

primary
#CFD598
secondary
#6D66AB
accent
#30B53D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD598

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

Preview Lab → · Contrast checker → · Palette generator →

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