#CFD792#CFD792

#CFD792 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.090 H 113.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CFD792
RGBrgb(207, 215, 146)
HSLhsl(67, 46%, 71%)
HSVhsv(67, 32%, 84%)
CMYKcmyk(3.7%, 0%, 32.1%, 15.7%)
CIE-LABlab(83.94, -13.54, 33.22)
CIE-LCHlch(83.94, 35.87, 112.18°)
OKLaboklab(85.67% -0.0362 0.0825)
OKLCHoklch(85.67% 0.09 113.7)
XYZxyz(55.2210, 63.9422, 36.6216)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD792 #9A92D7
analogous
#D7BC92 #CFD792 #ACD792
triadic
#CFD792 #92CFD7 #D792CF
tetradic
#CFD792 #92D7BC #9A92D7 #D792AC
square
#CFD792 #92D7BC #9A92D7 #D792AC
split-complementary
#CFD792 #92ACD7 #BC92D7
monochromatic
#A2AF40 #BBC765 #CFD792 #E3E7BF #F5F7E9

Accessibility & contrast

On white

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

On black

13.79
#CFD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD792
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD792#FFFFFF#000000##000000
##CFD7921.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D18D
Deuteranopia (green-blind)
#E0D295
Tritanopia (blue-blind)
#D7CFC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd792;
/* rgb */ color: rgb(207, 215, 146);
/* oklch */ color: oklch(85.7% 0.090 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee3b2',
    500: '#cfd792',
    950: '#000000',
  },
}
SCSS
$custom: #cfd792;
$custom-light: #dee3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd792",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 66.957,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85673,
    "c": 0.09013,
    "h": 113.7
  },
  "luminance": 0.63942
}

Semantic roles & 50–950 ramp

primary
#CFD792
secondary
#6960AE
accent
#2CBA3C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD792

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

Preview Lab → · Contrast checker → · Palette generator →

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