#CCB241#CCB241

#CCB241 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.133 H 96.0°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CCB241
RGBrgb(204, 178, 65)
HSLhsl(49, 58%, 53%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.7%, 68.1%, 20%)
CIE-LABlab(72.93, -3.16, 58.80)
CIE-LCHlch(72.93, 58.89, 93.08°)
OKLaboklab(76.56% -0.014 0.1321)
OKLCHoklch(76.56% 0.133 96)
XYZxyz(41.7784, 45.0620, 11.4972)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB241 #415BCC
analogous
#CC6C41 #CCB241 #A0CC41
triadic
#CCB241 #41CCB2 #B241CC
tetradic
#CCB241 #41CC6C #415BCC #CC41A0
square
#CCB241 #41CC6C #415BCC #CC41A0
split-complementary
#CCB241 #41A0CC #6C41CC
monochromatic
#74641F #A48D2C #CCB241 #D9C671 #E6D9A1

Accessibility & contrast

On white

2.10
#CCB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CCB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB241
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB241#FFFFFF#000000##000000
##CCB2411.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#CAB747
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb241;
/* rgb */ color: rgb(204, 178, 65);
/* oklch */ color: oklch(76.6% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#dfc87c',
    500: '#ccb241',
    950: '#000000',
  },
}
SCSS
$custom: #ccb241;
$custom-light: #dfc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb241",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 48.777,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76563,
    "c": 0.13281,
    "h": 96
  },
  "luminance": 0.4506
}

Semantic roles & 50–950 ramp

primary
#CCB241
secondary
#96A2D3
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB241

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

Preview Lab → · Contrast checker → · Palette generator →

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