#CFD794#CFD794

#CFD794 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.088 H 113.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#CFD794
RGBrgb(207, 215, 148)
HSLhsl(67, 46%, 71%)
HSVhsv(67, 31%, 84%)
CMYKcmyk(3.7%, 0%, 31.2%, 15.7%)
CIE-LABlab(83.97, -13.29, 32.23)
CIE-LCHlch(83.97, 34.87, 112.41°)
OKLaboklab(85.71% -0.0354 0.0803)
OKLCHoklch(85.71% 0.088 113.8)
XYZxyz(55.3779, 64.0050, 37.4481)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD794 #9C94D7
analogous
#D7BD94 #CFD794 #ADD794
triadic
#CFD794 #94CFD7 #D794CF
tetradic
#CFD794 #94D7BD #9C94D7 #D794AD
square
#CFD794 #94D7BD #9C94D7 #D794AD
split-complementary
#CFD794 #94ADD7 #BD94D7
monochromatic
#A2AF41 #BBC667 #CFD794 #E3E8C1 #F5F7E9

Accessibility & contrast

On white

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

On black

13.80
#CFD794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD794
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD794#FFFFFF#000000##000000
##CFD7941.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D18F
Deuteranopia (green-blind)
#E0D297
Tritanopia (blue-blind)
#D7CFC6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd794;
/* rgb */ color: rgb(207, 215, 148);
/* oklch */ color: oklch(85.7% 0.088 113.8);
Tailwind
colors: {
  custom: {
    50: '#dee3b4',
    500: '#cfd794',
    950: '#000000',
  },
}
SCSS
$custom: #cfd794;
$custom-light: #dee3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd794",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 148
  },
  "hsl": {
    "h": 67.164,
    "s": 45.578,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8571,
    "c": 0.08775,
    "h": 113.8
  },
  "luminance": 0.64004
}

Semantic roles & 50–950 ramp

primary
#CFD794
secondary
#6B62AE
accent
#2DB93D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD794

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

Preview Lab → · Contrast checker → · Palette generator →

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