#CCB73F#CCB73F

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

Color values

HEX#CCB73F
RGBrgb(204, 183, 63)
HSLhsl(51, 58%, 52%)
HSVhsv(51, 69%, 80%)
CMYKcmyk(0%, 10.3%, 69.1%, 20%)
CIE-LABlab(74.23, -5.88, 60.94)
CIE-LCHlch(74.23, 61.22, 95.51°)
OKLaboklab(77.59% -0.022 0.1362)
OKLCHoklch(77.59% 0.138 99.2)
XYZxyz(42.7345, 47.0652, 11.5352)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB73F #3F54CC
analogous
#CC713F #CCB73F #9ACC3F
triadic
#CCB73F #3FCCB7 #B73FCC
tetradic
#CCB73F #3FCC71 #3F54CC #CC3F9A
square
#CCB73F #3FCC71 #3F54CC #CC3F9A
split-complementary
#CCB73F #3F9ACC #713FCC
monochromatic
#72661E #A3912B #CCB73F #D9C96F #E6DBA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB73F#FFFFFF#000000##000000
##CCB73F1.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)
#C8B22E
Deuteranopia (green-blind)
#CEBA46
Tritanopia (blue-blind)
#DCAA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb73f;
/* rgb */ color: rgb(204, 183, 63);
/* oklch */ color: oklch(77.6% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfcc7b',
    500: '#ccb73f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb73f;
$custom-light: #dfcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb73f",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 51.064,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77587,
    "c": 0.138,
    "h": 99.2
  },
  "luminance": 0.47063
}

Semantic roles & 50–950 ramp

primary
#CCB73F
secondary
#959ED2
accent
#5EE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB73F

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

Preview Lab → · Contrast checker → · Palette generator →

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