#CFDA7B#CFDA7B

#CFDA7B is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.120 H 114.4°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#CFDA7B
RGBrgb(207, 218, 123)
HSLhsl(67, 56%, 67%)
HSVhsv(67, 44%, 85%)
CMYKcmyk(5%, 0%, 43.6%, 14.5%)
CIE-LABlab(84.40, -17.68, 45.34)
CIE-LCHlch(84.40, 48.67, 111.30°)
OKLaboklab(85.93% -0.0495 0.1093)
OKLCHoklch(85.93% 0.12 114.4)
XYZxyz(54.3793, 64.8390, 28.3855)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA7B #867BDA
analogous
#DAB57B #CFDA7B #A0DA7B
triadic
#CFDA7B #7BCFDA #DA7BCF
tetradic
#CFDA7B #7BDAB5 #867BDA #DA7BA0
square
#CFDA7B #7BDAB5 #867BDA #DA7BA0
split-complementary
#CFDA7B #7BA0DA #B57BDA
monochromatic
#9DAB30 #BECD4B #CFDA7B #E0E7AB #F2F5DB

Accessibility & contrast

On white

1.50
#CFDA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#CFDA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA7B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA7B#FFFFFF#000000##000000
##CFDA7B1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D273
Deuteranopia (green-blind)
#E6D480
Tritanopia (blue-blind)
#D9D0C3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfda7b;
/* rgb */ color: rgb(207, 218, 123);
/* oklch */ color: oklch(85.9% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe5a3',
    500: '#cfda7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfda7b;
$custom-light: #dfe5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda7b",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 66.947,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85935,
    "c": 0.11996,
    "h": 114.4
  },
  "luminance": 0.64838
}

Semantic roles & 50–950 ramp

primary
#CFDA7B
secondary
#574CAE
accent
#22C435
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFDA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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