#CCB62D#CCB62D

#CCB62D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.148 H 99.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CCB62D
RGBrgb(204, 182, 45)
HSLhsl(52, 64%, 49%)
HSVhsv(52, 78%, 80%)
CMYKcmyk(0%, 10.8%, 77.9%, 20%)
CIE-LABlab(73.86, -6.17, 67.05)
CIE-LCHlch(73.86, 67.33, 95.25°)
OKLaboklab(77.26% -0.0246 0.1459)
OKLCHoklch(77.26% 0.148 99.6)
XYZxyz(42.1056, 46.4848, 9.2368)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB62D #2D43CC
analogous
#CC672D #CCB62D #93CC2D
triadic
#CCB62D #2DCCB6 #B62DCC
tetradic
#CCB62D #2DCC67 #2D43CC #CC2D93
square
#CCB62D #2DCC67 #2D43CC #CC2D93
split-complementary
#CCB62D #2D93CC #672DCC
monochromatic
#685D17 #9A8922 #CCB62D #DBC95B #E6DA8D

Accessibility & contrast

On white

2.04
#CCB62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CCB62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB62D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB62D#FFFFFF#000000##000000
##CCB62D1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B109
Deuteranopia (green-blind)
#CEB937
Tritanopia (blue-blind)
#DCA89C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb62d;
/* rgb */ color: rgb(204, 182, 45);
/* oklch */ color: oklch(77.3% 0.148 99.6);
Tailwind
colors: {
  custom: {
    50: '#e0cb72',
    500: '#ccb62d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb62d;
$custom-light: #e0cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb62d",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 51.698,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77257,
    "c": 0.14791,
    "h": 99.6
  },
  "luminance": 0.46483
}

Semantic roles & 50–950 ramp

primary
#CCB62D
secondary
#858FD0
accent
#58E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CCB62D

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

Preview Lab → · Contrast checker → · Palette generator →

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