#CFDF7B#CFDF7B

#CFDF7B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.0% C 0.126 H 116.6°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#CFDF7B
RGBrgb(207, 223, 123)
HSLhsl(70, 61%, 68%)
HSVhsv(70, 45%, 87%)
CMYKcmyk(7.2%, 0%, 44.8%, 12.5%)
CIE-LABlab(85.74, -20.14, 47.00)
CIE-LCHlch(85.74, 51.13, 113.19°)
OKLaboklab(87.01% -0.0565 0.113)
OKLCHoklch(87.01% 0.126 116.6)
XYZxyz(55.6955, 67.4713, 28.8243)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF7B #8B7BDF
analogous
#DFBD7B #CFDF7B #9DDF7B
triadic
#CFDF7B #7BCFDF #DF7BCF
tetradic
#CFDF7B #7BDFBD #8B7BDF #DF7B9D
square
#CFDF7B #7BDFBD #8B7BDF #DF7B9D
split-complementary
#CFDF7B #7B9DDF #BD7BDF
monochromatic
#9EB42C #BDD34A #CFDF7B #E1EBAC #F3F7DE

Accessibility & contrast

On white

1.45
#CFDF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#CFDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF7B
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF7B#FFFFFF#000000##000000
##CFDF7B1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD673
Deuteranopia (green-blind)
#EAD780
Tritanopia (blue-blind)
#D9D5C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdf7b;
/* rgb */ color: rgb(207, 223, 123);
/* oklch */ color: oklch(87.0% 0.126 116.6);
Tailwind
colors: {
  custom: {
    50: '#dfe9a3',
    500: '#cfdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf7b;
$custom-light: #dfe9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf7b",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 69.6,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87005,
    "c": 0.1263,
    "h": 116.6
  },
  "luminance": 0.67471
}

Semantic roles & 50–950 ramp

primary
#CFDF7B
secondary
#5A49B5
accent
#1DC938
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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