#CBCD79#CBCD79

#CBCD79 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.107 H 109.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CBCD79
RGBrgb(203, 205, 121)
HSLhsl(61, 46%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(1%, 0%, 41%, 19.6%)
CIE-LABlab(80.59, -12.97, 41.51)
CIE-LCHlch(80.59, 43.49, 107.34°)
OKLaboklab(82.82% -0.036 0.1006)
OKLCHoklch(82.82% 0.107 109.7)
XYZxyz(49.9118, 57.7406, 26.6012)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD79 #7B79CD
analogous
#CDA579 #CBCD79 #A1CD79
triadic
#CBCD79 #79CBCD #CD79CB
tetradic
#CBCD79 #79CDA5 #7B79CD #CD79A1
square
#CBCD79 #79CDA5 #7B79CD #CD79A1
split-complementary
#CBCD79 #79A1CD #A579CD
monochromatic
#929437 #BABC4C #CBCD79 #DCDEA6 #EEEED2

Accessibility & contrast

On white

1.67
#CBCD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CBCD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD79
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD79#FFFFFF#000000##000000
##CBCD791.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#DAC97D
Tritanopia (blue-blind)
#D5C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcd79;
/* rgb */ color: rgb(203, 205, 121);
/* oklch */ color: oklch(82.8% 0.107 109.7);
Tailwind
colors: {
  custom: {
    50: '#dcdca1',
    500: '#cbcd79',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd79;
$custom-light: #dcdca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd79",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 61.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82817,
    "c": 0.10686,
    "h": 109.7
  },
  "luminance": 0.5774
}

Semantic roles & 50–950 ramp

primary
#CBCD79
secondary
#51509B
accent
#2DB930
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCD79

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

Preview Lab → · Contrast checker → · Palette generator →

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