#CFD98B#CFD98B

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

Color values

HEX#CFD98B
RGBrgb(207, 217, 139)
HSLhsl(68, 51%, 70%)
HSVhsv(68, 36%, 85%)
CMYKcmyk(4.6%, 0%, 35.9%, 14.9%)
CIE-LABlab(84.36, -15.40, 37.33)
CIE-LCHlch(84.36, 40.38, 112.42°)
OKLaboklab(85.97% -0.0419 0.0919)
OKLCHoklch(85.97% 0.101 114.5)
XYZxyz(55.2054, 64.7558, 34.0120)
Luminance0.6475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD98B #958BD9
analogous
#D9BC8B #CFD98B #A8D98B
triadic
#CFD98B #8BCFD9 #D98BCF
tetradic
#CFD98B #8BD9BC #958BD9 #D98BA8
square
#CFD98B #8BD9BC #958BD9 #D98BA8
split-complementary
#CFD98B #8BA8D9 #BC8BD9
monochromatic
#A1B03A #BCCA5D #CFD98B #E2E8B9 #F5F7E7

Accessibility & contrast

On white

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

On black

13.95
#CFD98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD98B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD98B#FFFFFF#000000##000000
##CFD98B1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D285
Deuteranopia (green-blind)
#E3D38E
Tritanopia (blue-blind)
#D8D1C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd98b;
/* rgb */ color: rgb(207, 217, 139);
/* oklch */ color: oklch(86.0% 0.101 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee4ae',
    500: '#cfd98b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd98b;
$custom-light: #dee4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd98b",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 139
  },
  "hsl": {
    "h": 67.692,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85973,
    "c": 0.10097,
    "h": 114.5
  },
  "luminance": 0.64755
}

Semantic roles & 50–950 ramp

primary
#CFD98B
secondary
#6459B0
accent
#27BE3B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD98B

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

Preview Lab → · Contrast checker → · Palette generator →

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