#CFDB5F#CFDB5F

#CFDB5F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.8% C 0.148 H 114.2°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#CFDB5F
RGBrgb(207, 219, 95)
HSLhsl(66, 63%, 62%)
HSVhsv(66, 57%, 86%)
CMYKcmyk(5.5%, 0%, 56.6%, 14.1%)
CIE-LABlab(84.36, -20.70, 58.36)
CIE-LCHlch(84.36, 61.92, 109.53°)
OKLaboklab(85.8% -0.0607 0.1352)
OKLCHoklch(85.8% 0.148 114.2)
XYZxyz(53.1303, 64.7555, 20.5245)
Luminance0.6475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDB5F #6B5FDB
analogous
#DBA95F #CFDB5F #91DB5F
triadic
#CFDB5F #5FCFDB #DB5FCF
tetradic
#CFDB5F #5FDBA9 #6B5FDB #DB5F91
square
#CFDB5F #5FDBA9 #6B5FDB #DB5F91
split-complementary
#CFDB5F #5F91DB #A95FDB
monochromatic
#919C23 #BFCE2E #CFDB5F #DEE691 #EDF1C3

Accessibility & contrast

On white

1.51
#CFDB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#CFDB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDB5F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDB5F#FFFFFF#000000##000000
##CFDB5F1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#DBCFC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfdb5f;
/* rgb */ color: rgb(207, 219, 95);
/* oklch */ color: oklch(85.8% 0.148 114.2);
Tailwind
colors: {
  custom: {
    50: '#e0e691',
    500: '#cfdb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfdb5f;
$custom-light: #e0e691;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdb5f",
  "rgb": {
    "r": 207,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 65.806,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85799,
    "c": 0.14823,
    "h": 114.2
  },
  "luminance": 0.64755
}

Semantic roles & 50–950 ramp

primary
#CFDB5F
secondary
#473EA0
accent
#1ACB2C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFDB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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