#CFD489#CFD489

#CFD489 is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.097 H 111.5°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#CFD489
RGBrgb(207, 212, 137)
HSLhsl(64, 47%, 68%)
HSVhsv(64, 35%, 83%)
CMYKcmyk(2.4%, 0%, 35.4%, 16.9%)
CIE-LABlab(83.00, -13.13, 36.58)
CIE-LCHlch(83.00, 38.87, 109.75°)
OKLaboklab(84.88% -0.0355 0.0901)
OKLCHoklch(84.88% 0.097 111.5)
XYZxyz(53.7913, 62.1593, 32.8263)
Luminance0.6216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD489 #8E89D4
analogous
#D4B389 #CFD489 #A9D489
triadic
#CFD489 #89CFD4 #D489CF
tetradic
#CFD489 #89D4B3 #8E89D4 #D489A9
square
#CFD489 #89D4B3 #8E89D4 #D489A9
split-complementary
#CFD489 #89A9D4 #B389D4
monochromatic
#9FA63D #BDC45C #CFD489 #E1E4B6 #F3F5E3

Accessibility & contrast

On white

1.56
#CFD489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#CFD489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD489
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD489#FFFFFF#000000##000000
##CFD4891.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE84
Deuteranopia (green-blind)
#DFD08C
Tritanopia (blue-blind)
#D8CCC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd489;
/* rgb */ color: rgb(207, 212, 137);
/* oklch */ color: oklch(84.9% 0.097 111.5);
Tailwind
colors: {
  custom: {
    50: '#dee1ac',
    500: '#cfd489',
    950: '#000000',
  },
}
SCSS
$custom: #cfd489;
$custom-light: #dee1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd489",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 64,
    "s": 46.584,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84881,
    "c": 0.09682,
    "h": 111.5
  },
  "luminance": 0.62159
}

Semantic roles & 50–950 ramp

primary
#CFD489
secondary
#5D57AA
accent
#2CBA35
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD489

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

Preview Lab → · Contrast checker → · Palette generator →

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