#CCB25E#CCB25E

#CCB25E is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.108 H 92.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CCB25E
RGBrgb(204, 178, 94)
HSLhsl(46, 52%, 58%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.7%, 53.9%, 20%)
CIE-LABlab(73.21, -1.16, 45.89)
CIE-LCHlch(73.21, 45.90, 91.45°)
OKLaboklab(76.87% -0.0048 0.1083)
OKLCHoklch(76.87% 0.108 92.5)
XYZxyz(42.8443, 45.4883, 17.1109)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB25E #5E78CC
analogous
#CC7B5E #CCB25E #AFCC5E
triadic
#CCB25E #5ECCB2 #B25ECC
tetradic
#CCB25E #5ECC7B #5E78CC #CC5EAF
square
#CCB25E #5ECC7B #5E78CC #CC5EAF
split-complementary
#CCB25E #5EAFCC #7B5ECC
monochromatic
#85702A #B49739 #CCB25E #DBC88C #E9DEBB

Accessibility & contrast

On white

2.08
#CCB25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CCB25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB25E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB25E#FFFFFF#000000##000000
##CCB25E1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF56
Deuteranopia (green-blind)
#C8B761
Tritanopia (blue-blind)
#DAA69F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb25e;
/* rgb */ color: rgb(204, 178, 94);
/* oklch */ color: oklch(76.9% 0.108 92.5);
Tailwind
colors: {
  custom: {
    50: '#dec88e',
    500: '#ccb25e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb25e;
$custom-light: #dec88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb25e",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 94
  },
  "hsl": {
    "h": 45.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76874,
    "c": 0.10837,
    "h": 92.5
  },
  "luminance": 0.45486
}

Semantic roles & 50–950 ramp

primary
#CCB25E
secondary
#ADB7D9
accent
#6EDB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB25E

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

Preview Lab → · Contrast checker → · Palette generator →

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