#CFDF5B#CFDF5B

#CFDF5B is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.156 H 115.6°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#CFDF5B
RGBrgb(207, 223, 91)
HSLhsl(67, 67%, 62%)
HSVhsv(67, 59%, 87%)
CMYKcmyk(7.2%, 0%, 59.2%, 12.5%)
CIE-LABlab(85.40, -22.93, 61.25)
CIE-LCHlch(85.40, 65.40, 110.53°)
OKLaboklab(86.62% -0.0674 0.1409)
OKLCHoklch(86.62% 0.156 115.6)
XYZxyz(54.0092, 66.7968, 19.9434)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF5B #6B5BDF
analogous
#DFAD5B #CFDF5B #8DDF5B
triadic
#CFDF5B #5BCFDF #DF5BCF
tetradic
#CFDF5B #5BDFAD #6B5BDF #DF5B8D
square
#CFDF5B #5BDFAD #6B5BDF #DF5B8D
split-complementary
#CFDF5B #5B8DDF #AD5BDF
monochromatic
#91A01F #BFD429 #CFDF5B #DEE98E #EDF3C1

Accessibility & contrast

On white

1.46
#CFDF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#CFDF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF5B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF5B#FFFFFF#000000##000000
##CFDF5B1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD54C
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#DBD3C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf5b;
/* rgb */ color: rgb(207, 223, 91);
/* oklch */ color: oklch(86.6% 0.156 115.6);
Tailwind
colors: {
  custom: {
    50: '#e0e88e',
    500: '#cfdf5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf5b;
$custom-light: #e0e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf5b",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 67.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86623,
    "c": 0.1562,
    "h": 115.6
  },
  "luminance": 0.66796
}

Semantic roles & 50–950 ramp

primary
#CFDF5B
secondary
#473BA3
accent
#16CF2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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