#CFD86B#CFD86B

#CFD86B is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.134 H 113.1°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CFD86B
RGBrgb(207, 216, 107)
HSLhsl(65, 58%, 63%)
HSVhsv(65, 50%, 85%)
CMYKcmyk(4.2%, 0%, 50.5%, 15.3%)
CIE-LABlab(83.67, -18.23, 52.12)
CIE-LCHlch(83.67, 55.21, 109.28°)
OKLaboklab(85.29% -0.0525 0.123)
OKLCHoklch(85.29% 0.134 113.1)
XYZxyz(52.9428, 63.4396, 23.3632)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD86B #746BD8
analogous
#D8AA6B #CFD86B #98D86B
triadic
#CFD86B #6BCFD8 #D86BCF
tetradic
#CFD86B #6BD8AA #746BD8 #D86B98
square
#CFD86B #6BD8AA #746BD8 #D86B98
split-complementary
#CFD86B #6B98D8 #AA6BD8
monochromatic
#959F2A #BFCB3B #CFD86B #DFE59B #EEF2CC

Accessibility & contrast

On white

1.53
#CFD86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#CFD86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD86B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD86B#FFFFFF#000000##000000
##CFD86B1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF61
Deuteranopia (green-blind)
#E5D271
Tritanopia (blue-blind)
#DACDBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd86b;
/* rgb */ color: rgb(207, 216, 107);
/* oklch */ color: oklch(85.3% 0.134 113.1);
Tailwind
colors: {
  custom: {
    50: '#e0e498',
    500: '#cfd86b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd86b;
$custom-light: #e0e498;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd86b",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 64.954,
    "s": 58.289,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.13375,
    "h": 113.1
  },
  "luminance": 0.63439
}

Semantic roles & 50–950 ramp

primary
#CFD86B
secondary
#4C44A3
accent
#20C62D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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