#CCBE5D#CCBE5D

#CCBE5D is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.119 H 101.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CCBE5D
RGBrgb(204, 190, 93)
HSLhsl(52, 52%, 58%)
HSVhsv(52, 54%, 80%)
CMYKcmyk(0%, 6.9%, 54.4%, 20%)
CIE-LABlab(76.35, -7.51, 50.05)
CIE-LCHlch(76.35, 50.62, 98.54°)
OKLaboklab(79.35% -0.0232 0.1172)
OKLCHoklch(79.35% 0.12 101.2)
XYZxyz(45.2926, 50.4563, 17.7070)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBE5D #5D6BCC
analogous
#CC865D #CCBE5D #A3CC5D
triadic
#CCBE5D #5DCCBE #BE5DCC
tetradic
#CCBE5D #5DCC86 #5D6BCC #CC5DA3
square
#CCBE5D #5DCC86 #5D6BCC #CC5DA3
split-complementary
#CCBE5D #5DA3CC #865DCC
monochromatic
#85792A #B3A438 #CCBE5D #DBD18C #E9E3BA

Accessibility & contrast

On white

1.89
#CCBE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CCBE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBE5D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBE5D#FFFFFF#000000##000000
##CCBE5D1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB954
Deuteranopia (green-blind)
#D1BF62
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbe5d;
/* rgb */ color: rgb(204, 190, 93);
/* oklch */ color: oklch(79.4% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#ded18e',
    500: '#ccbe5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbe5d;
$custom-light: #ded18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbe5d",
  "rgb": {
    "r": 204,
    "g": 190,
    "b": 93
  },
  "hsl": {
    "h": 52.432,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79352,
    "c": 0.1195,
    "h": 101.2
  },
  "luminance": 0.50455
}

Semantic roles & 50–950 ramp

primary
#CCBE5D
secondary
#414B8C
accent
#5EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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