#CCB43B#CCB43B

#CCB43B is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.138 H 97.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CCB43B
RGBrgb(204, 180, 59)
HSLhsl(50, 59%, 52%)
HSVhsv(50, 71%, 80%)
CMYKcmyk(0%, 11.8%, 71.1%, 20%)
CIE-LABlab(73.41, -4.52, 61.69)
CIE-LCHlch(73.41, 61.85, 94.19°)
OKLaboklab(76.93% -0.0185 0.1371)
OKLCHoklch(76.93% 0.138 97.7)
XYZxyz(42.0146, 45.7978, 10.7636)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43B #3B53CC
analogous
#CC6C3B #CCB43B #9CCC3B
triadic
#CCB43B #3BCCB4 #B43BCC
tetradic
#CCB43B #3BCC6C #3B53CC #CC3B9C
square
#CCB43B #3BCC6C #3B53CC #CC3B9C
split-complementary
#CCB43B #3B9CCC #6C3BCC
monochromatic
#70621D #A08D2A #CCB43B #D9C76C #E5D99C

Accessibility & contrast

On white

2.07
#CCB43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CCB43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB43B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB43B#FFFFFF#000000##000000
##CCB43B1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B029
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#DCA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb43b;
/* rgb */ color: rgb(204, 180, 59);
/* oklch */ color: oklch(76.9% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#dfca78',
    500: '#ccb43b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43b;
$custom-light: #dfca78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43b",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 50.069,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7693,
    "c": 0.13837,
    "h": 97.7
  },
  "luminance": 0.45796
}

Semantic roles & 50–950 ramp

primary
#CCB43B
secondary
#929CD1
accent
#60E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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