#CCB941#CCB941

#CCB941 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.138 H 100.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CCB941
RGBrgb(204, 185, 65)
HSLhsl(52, 58%, 53%)
HSVhsv(52, 68%, 80%)
CMYKcmyk(0%, 9.3%, 68.1%, 20%)
CIE-LABlab(74.77, -6.81, 60.69)
CIE-LCHlch(74.77, 61.07, 96.41°)
OKLaboklab(78.02% -0.0244 0.1361)
OKLCHoklch(78.02% 0.138 100.2)
XYZxyz(43.2069, 47.9189, 11.9734)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB941 #4154CC
analogous
#CC7441 #CCB941 #99CC41
triadic
#CCB941 #41CCB9 #B941CC
tetradic
#CCB941 #41CC74 #4154CC #CC4199
square
#CCB941 #41CC74 #4154CC #CC4199
split-complementary
#CCB941 #4199CC #7441CC
monochromatic
#74681F #A4932C #CCB941 #D9CB71 #E6DDA1

Accessibility & contrast

On white

1.98
#CCB941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CCB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB941
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB941#FFFFFF#000000##000000
##CCB9411.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb941;
/* rgb */ color: rgb(204, 185, 65);
/* oklch */ color: oklch(78.0% 0.138 100.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd7c',
    500: '#ccb941',
    950: '#000000',
  },
}
SCSS
$custom: #ccb941;
$custom-light: #dfcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb941",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 51.799,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78022,
    "c": 0.13823,
    "h": 100.2
  },
  "luminance": 0.47917
}

Semantic roles & 50–950 ramp

primary
#CCB941
secondary
#969FD3
accent
#5CE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB941

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

Preview Lab → · Contrast checker → · Palette generator →

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