#CFDF7A#CFDF7A

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

Color values

HEX#CFDF7A
RGBrgb(207, 223, 122)
HSLhsl(70, 61%, 68%)
HSVhsv(70, 45%, 87%)
CMYKcmyk(7.2%, 0%, 45.3%, 12.5%)
CIE-LABlab(85.73, -20.24, 47.46)
CIE-LCHlch(85.73, 51.60, 113.09°)
OKLaboklab(86.99% -0.0568 0.1139)
OKLCHoklch(86.99% 0.127 116.5)
XYZxyz(55.6332, 67.4464, 28.4963)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF7A #8A7ADF
analogous
#DFBC7A #CFDF7A #9CDF7A
triadic
#CFDF7A #7ACFDF #DF7ACF
tetradic
#CFDF7A #7ADFBC #8A7ADF #DF7A9C
square
#CFDF7A #7ADFBC #8A7ADF #DF7A9C
split-complementary
#CFDF7A #7A9CDF #BC7ADF
monochromatic
#9EB32B #BDD349 #CFDF7A #E1EBAB #F3F7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFDF7A#FFFFFF#000000##000000
##CFDF7A1.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)
#EBD672
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#D9D5C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdf7a;
/* rgb */ color: rgb(207, 223, 122);
/* oklch */ color: oklch(87.0% 0.127 116.5);
Tailwind
colors: {
  custom: {
    50: '#dfe9a2',
    500: '#cfdf7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf7a;
$custom-light: #dfe9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf7a",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 69.505,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86991,
    "c": 0.12734,
    "h": 116.5
  },
  "luminance": 0.67446
}

Semantic roles & 50–950 ramp

primary
#CFDF7A
secondary
#5A48B5
accent
#1DC938
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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