#CBCC4F#CBCC4F

#CBCC4F is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.146 H 109.7°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CBCC4F
RGBrgb(203, 204, 79)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0.5%, 0%, 61.3%, 20%)
CIE-LABlab(79.87, -16.07, 60.23)
CIE-LCHlch(79.87, 62.34, 104.94°)
OKLaboklab(82.09% -0.049 0.1373)
OKLCHoklch(82.09% 0.146 109.7)
XYZxyz(47.6342, 56.4480, 15.7819)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC4F #504FCC
analogous
#CC8E4F #CBCC4F #8CCC4F
triadic
#CBCC4F #4FCBCC #CC4FCB
tetradic
#CBCC4F #4FCC8E #504FCC #CC4F8C
square
#CBCC4F #4FCC8E #504FCC #CC4F8C
split-complementary
#CBCC4F #4F8CCC #8E4FCC
monochromatic
#7C7D24 #ABAC32 #CBCC4F #D9DA7E #E7E7AE

Accessibility & contrast

On white

1.71
#CBCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CBCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC4F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC4F#FFFFFF#000000##000000
##CBCC4F1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#D8C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc4f;
/* rgb */ color: rgb(203, 204, 79);
/* oklch */ color: oklch(82.1% 0.146 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedb86',
    500: '#cbcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc4f;
$custom-light: #dedb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc4f",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 60.48,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.14578,
    "h": 109.7
  },
  "luminance": 0.56447
}

Semantic roles & 50–950 ramp

primary
#CBCC4F
secondary
#3B3B84
accent
#49DE4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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