#CFD18E#CFD18E

#CFD18E is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.087 H 109.6°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CFD18E
RGBrgb(207, 209, 142)
HSLhsl(62, 42%, 69%)
HSVhsv(62, 32%, 82%)
CMYKcmyk(1%, 0%, 32.1%, 18%)
CIE-LABlab(82.28, -11.01, 33.09)
CIE-LCHlch(82.28, 34.87, 108.41°)
OKLaboklab(84.34% -0.0292 0.0821)
OKLCHoklch(84.34% 0.087 109.6)
XYZxyz(53.4154, 60.8201, 34.5115)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD18E #908ED1
analogous
#D1B28E #CFD18E #AED18E
triadic
#CFD18E #8ECFD1 #D18ECF
tetradic
#CFD18E #8ED1B2 #908ED1 #D18EAE
square
#CFD18E #8ED1B2 #908ED1 #D18EAE
split-complementary
#CFD18E #8EAED1 #B28ED1
monochromatic
#A0A242 #BDBF63 #CFD18E #E1E3B9 #F4F4E5

Accessibility & contrast

On white

1.60
#CFD18E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CFD18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD18E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD18E#FFFFFF#000000##000000
##CFD18E1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCB89
Deuteranopia (green-blind)
#DCCE91
Tritanopia (blue-blind)
#D8C9C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd18e;
/* rgb */ color: rgb(207, 209, 142);
/* oklch */ color: oklch(84.3% 0.087 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedfaf',
    500: '#cfd18e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd18e;
$custom-light: #dedfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd18e",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 142
  },
  "hsl": {
    "h": 61.791,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84338,
    "c": 0.08715,
    "h": 109.6
  },
  "luminance": 0.60819
}

Semantic roles & 50–950 ramp

primary
#CFD18E
secondary
#5F5DA7
accent
#30B534
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD18E

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

Preview Lab → · Contrast checker → · Palette generator →

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