#CCB83E#CCB83E

#CCB83E is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.139 H 99.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CCB83E
RGBrgb(204, 184, 62)
HSLhsl(52, 58%, 52%)
HSVhsv(52, 70%, 80%)
CMYKcmyk(0%, 9.8%, 69.6%, 20%)
CIE-LABlab(74.49, -6.46, 61.59)
CIE-LCHlch(74.49, 61.93, 95.98°)
OKLaboklab(77.79% -0.0237 0.1375)
OKLCHoklch(77.79% 0.139 99.8)
XYZxyz(42.9138, 47.4681, 11.4583)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB83E #3E52CC
analogous
#CC713E #CCB83E #99CC3E
triadic
#CCB83E #3ECCB8 #B83ECC
tetradic
#CCB83E #3ECC71 #3E52CC #CC3E99
square
#CCB83E #3ECC71 #3E52CC #CC3E99
split-complementary
#CCB83E #3E99CC #713ECC
monochromatic
#72661E #A2912B #CCB83E #D9CA6E #E6DC9F

Accessibility & contrast

On white

2.00
#CCB83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CCB83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB83E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB83E#FFFFFF#000000##000000
##CCB83E1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32C
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#DCAB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb83e;
/* rgb */ color: rgb(204, 184, 62);
/* oklch */ color: oklch(77.8% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#dfcd7a',
    500: '#ccb83e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb83e;
$custom-light: #dfcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb83e",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 62
  },
  "hsl": {
    "h": 51.549,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.13948,
    "h": 99.8
  },
  "luminance": 0.47466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB83E

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

Preview Lab → · Contrast checker → · Palette generator →

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