#CCB73E#CCB73E

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

Color values

HEX#CCB73E
RGBrgb(204, 183, 62)
HSLhsl(51, 58%, 52%)
HSVhsv(51, 70%, 80%)
CMYKcmyk(0%, 10.3%, 69.6%, 20%)
CIE-LABlab(74.22, -5.94, 61.33)
CIE-LCHlch(74.22, 61.61, 95.53°)
OKLaboklab(77.58% -0.0222 0.1369)
OKLCHoklch(77.58% 0.139 99.2)
XYZxyz(42.7068, 47.0542, 11.3893)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB73E #3E53CC
analogous
#CC703E #CCB73E #9ACC3E
triadic
#CCB73E #3ECCB7 #B73ECC
tetradic
#CCB73E #3ECC70 #3E53CC #CC3E9A
square
#CCB73E #3ECC70 #3E53CC #CC3E9A
split-complementary
#CCB73E #3E9ACC #703ECC
monochromatic
#72651E #A2902B #CCB73E #D9C96E #E6DB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB73E#FFFFFF#000000##000000
##CCB73E1.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)
#C8B22C
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#DCAA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb73e;
/* rgb */ color: rgb(204, 183, 62);
/* oklch */ color: oklch(77.6% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfcc7a',
    500: '#ccb73e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb73e;
$custom-light: #dfcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb73e",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 51.127,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77579,
    "c": 0.13868,
    "h": 99.2
  },
  "luminance": 0.47052
}

Semantic roles & 50–950 ramp

primary
#CCB73E
secondary
#949DD2
accent
#5DE146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB73E

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

Preview Lab → · Contrast checker → · Palette generator →

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