#CCB73D#CCB73D

#CCB73D is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.139 H 99.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CCB73D
RGBrgb(204, 183, 61)
HSLhsl(51, 58%, 52%)
HSVhsv(51, 70%, 80%)
CMYKcmyk(0%, 10.3%, 70.1%, 20%)
CIE-LABlab(74.22, -5.99, 61.71)
CIE-LCHlch(74.22, 62.00, 95.54°)
OKLaboklab(77.57% -0.0225 0.1375)
OKLCHoklch(77.57% 0.139 99.3)
XYZxyz(42.6796, 47.0433, 11.2462)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB73D #3D52CC
analogous
#CC703D #CCB73D #99CC3D
triadic
#CCB73D #3DCCB7 #B73DCC
tetradic
#CCB73D #3DCC70 #3D52CC #CC3D99
square
#CCB73D #3DCC70 #3D52CC #CC3D99
split-complementary
#CCB73D #3D99CC #703DCC
monochromatic
#71651E #A1902A #CCB73D #D9C96D #E5DB9E

Accessibility & contrast

On white

2.02
#CCB73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#CCB73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB73D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB73D#FFFFFF#000000##000000
##CCB73D1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22B
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#DCAA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb73d;
/* rgb */ color: rgb(204, 183, 61);
/* oklch */ color: oklch(77.6% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfcc7a',
    500: '#ccb73d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb73d;
$custom-light: #dfcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb73d",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 51.189,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77571,
    "c": 0.13935,
    "h": 99.3
  },
  "luminance": 0.47041
}

Semantic roles & 50–950 ramp

primary
#CCB73D
secondary
#939CD2
accent
#5DE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB73D

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

Preview Lab → · Contrast checker → · Palette generator →

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