#CCB43E#CCB43E

#CCB43E is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.136 H 97.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CCB43E
RGBrgb(204, 180, 62)
HSLhsl(50, 58%, 52%)
HSVhsv(50, 70%, 80%)
CMYKcmyk(0%, 11.8%, 69.6%, 20%)
CIE-LABlab(73.44, -4.37, 60.53)
CIE-LCHlch(73.44, 60.69, 94.13°)
OKLaboklab(76.95% -0.0178 0.1352)
OKLCHoklch(76.95% 0.136 97.5)
XYZxyz(42.0946, 45.8298, 11.1853)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43E #3E56CC
analogous
#CC6D3E #CCB43E #9DCC3E
triadic
#CCB43E #3ECCB4 #B43ECC
tetradic
#CCB43E #3ECC6D #3E56CC #CC3E9D
square
#CCB43E #3ECC6D #3E56CC #CC3E9D
split-complementary
#CCB43E #3E9DCC #6D3ECC
monochromatic
#72631E #A28E2B #CCB43E #D9C76E #E6DA9F

Accessibility & contrast

On white

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

On black

10.17
#CCB43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB43E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB43E#FFFFFF#000000##000000
##CCB43E1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb43e;
/* rgb */ color: rgb(204, 180, 62);
/* oklch */ color: oklch(77.0% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfca7a',
    500: '#ccb43e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43e;
$custom-light: #dfca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43e",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 49.859,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.13637,
    "h": 97.5
  },
  "luminance": 0.45828
}

Semantic roles & 50–950 ramp

primary
#CCB43E
secondary
#949ED2
accent
#61E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB43E

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

Preview Lab → · Contrast checker → · Palette generator →

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