#CFD79A#CFD79A

#CFD79A is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.080 H 114.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#CFD79A
RGBrgb(207, 215, 154)
HSLhsl(68, 43%, 72%)
HSVhsv(68, 28%, 84%)
CMYKcmyk(3.7%, 0%, 28.4%, 15.7%)
CIE-LABlab(84.07, -12.51, 29.28)
CIE-LCHlch(84.07, 31.84, 113.13°)
OKLaboklab(85.82% -0.033 0.0734)
OKLCHoklch(85.82% 0.08 114.2)
XYZxyz(55.8652, 64.1999, 40.0144)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD79A #A29AD7
analogous
#D7C19A #CFD79A #B1D79A
triadic
#CFD79A #9ACFD7 #D79ACF
tetradic
#CFD79A #9AD7C1 #A29AD7 #D79AB1
square
#CFD79A #9AD7C1 #A29AD7 #D79AB1
split-complementary
#CFD79A #9AB1D7 #C19AD7
monochromatic
#A3B146 #BAC66E #CFD79A #E4E8C6 #F5F6E9

Accessibility & contrast

On white

1.52
#CFD79A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#CFD79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD79A
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD79A#FFFFFF#000000##000000
##CFD79A1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D196
Deuteranopia (green-blind)
#DFD29D
Tritanopia (blue-blind)
#D6D0C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd79a;
/* rgb */ color: rgb(207, 215, 154);
/* oklch */ color: oklch(85.8% 0.080 114.2);
Tailwind
colors: {
  custom: {
    50: '#dee3b8',
    500: '#cfd79a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd79a;
$custom-light: #dee3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd79a",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 154
  },
  "hsl": {
    "h": 67.869,
    "s": 43.262,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85824,
    "c": 0.08049,
    "h": 114.2
  },
  "luminance": 0.64199
}

Semantic roles & 50–950 ramp

primary
#CFD79A
secondary
#7167AE
accent
#2FB641
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD79A

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

Preview Lab → · Contrast checker → · Palette generator →

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