#CFD289#CFD289

#CFD289 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.5% C 0.094 H 110.3°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CFD289
RGBrgb(207, 210, 137)
HSLhsl(62, 45%, 68%)
HSVhsv(62, 35%, 82%)
CMYKcmyk(1.4%, 0%, 34.8%, 17.6%)
CIE-LABlab(82.47, -12.13, 35.89)
CIE-LCHlch(82.47, 37.88, 108.67°)
OKLaboklab(84.46% -0.0327 0.0885)
OKLCHoklch(84.46% 0.094 110.3)
XYZxyz(53.2945, 61.1656, 32.6607)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD289 #8C89D2
analogous
#D2B089 #CFD289 #AAD289
triadic
#CFD289 #89CFD2 #D289CF
tetradic
#CFD289 #89D2B0 #8C89D2 #D289AA
square
#CFD289 #89D2B0 #8C89D2 #D289AA
split-complementary
#CFD289 #89AAD2 #B089D2
monochromatic
#9EA33E #BDC15D #CFD289 #E1E3B5 #F3F4E2

Accessibility & contrast

On white

1.59
#CFD289 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#CFD289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD289
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD289#FFFFFF#000000##000000
##CFD2891.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC84
Deuteranopia (green-blind)
#DECE8C
Tritanopia (blue-blind)
#D8CAC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd289;
/* rgb */ color: rgb(207, 210, 137);
/* oklch */ color: oklch(84.5% 0.094 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfac',
    500: '#cfd289',
    950: '#000000',
  },
}
SCSS
$custom: #cfd289;
$custom-light: #dedfac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd289",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 137
  },
  "hsl": {
    "h": 62.466,
    "s": 44.785,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84459,
    "c": 0.09431,
    "h": 110.3
  },
  "luminance": 0.61165
}

Semantic roles & 50–950 ramp

primary
#CFD289
secondary
#5B58A8
accent
#2EB833
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD289

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

Preview Lab → · Contrast checker → · Palette generator →

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