#CCB83F#CCB83F

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

Color values

HEX#CCB83F
RGBrgb(204, 184, 63)
HSLhsl(51, 58%, 52%)
HSVhsv(51, 69%, 80%)
CMYKcmyk(0%, 9.8%, 69.1%, 20%)
CIE-LABlab(74.50, -6.40, 61.20)
CIE-LCHlch(74.50, 61.54, 95.97°)
OKLaboklab(77.8% -0.0234 0.1368)
OKLCHoklch(77.8% 0.139 99.7)
XYZxyz(42.9415, 47.4792, 11.6042)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB83F #3F53CC
analogous
#CC713F #CCB83F #9ACC3F
triadic
#CCB83F #3FCCB8 #B83FCC
tetradic
#CCB83F #3FCC71 #3F53CC #CC3F9A
square
#CCB83F #3FCC71 #3F53CC #CC3F9A
split-complementary
#CCB83F #3F9ACC #713FCC
monochromatic
#72661E #A3922B #CCB83F #D9CA6F #E6DCA0

Accessibility & contrast

On white

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

On black

10.50
#CCB83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB83F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB83F#FFFFFF#000000##000000
##CCB83F1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32E
Deuteranopia (green-blind)
#CFBA46
Tritanopia (blue-blind)
#DCABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb83f;
/* rgb */ color: rgb(204, 184, 63);
/* oklch */ color: oklch(77.8% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd7b',
    500: '#ccb83f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb83f;
$custom-light: #dfcd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb83f",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 51.489,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.1388,
    "h": 99.7
  },
  "luminance": 0.47477
}

Semantic roles & 50–950 ramp

primary
#CCB83F
secondary
#959DD2
accent
#5CE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB83F

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

Preview Lab → · Contrast checker → · Palette generator →

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