#CCB943#CCB943

#CCB943 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.137 H 100.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CCB943
RGBrgb(204, 185, 67)
HSLhsl(52, 57%, 53%)
HSVhsv(52, 67%, 80%)
CMYKcmyk(0%, 9.3%, 67.2%, 20%)
CIE-LABlab(74.79, -6.70, 59.89)
CIE-LCHlch(74.79, 60.27, 96.39°)
OKLaboklab(78.04% -0.0238 0.1347)
OKLCHoklch(78.04% 0.137 100)
XYZxyz(43.2658, 47.9425, 12.2839)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB943 #4356CC
analogous
#CC7443 #CCB943 #9ACC43
triadic
#CCB943 #43CCB9 #B943CC
tetradic
#CCB943 #43CC74 #4356CC #CC439A
square
#CCB943 #43CC74 #4356CC #CC439A
split-complementary
#CCB943 #439ACC #7443CC
monochromatic
#756920 #A5942D #CCB943 #D9CB73 #E6DDA3

Accessibility & contrast

On white

1.98
#CCB943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CCB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB943
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB943#FFFFFF#000000##000000
##CCB9431.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb943;
/* rgb */ color: rgb(204, 185, 67);
/* oklch */ color: oklch(78.0% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd7d',
    500: '#ccb943',
    950: '#000000',
  },
}
SCSS
$custom: #ccb943;
$custom-light: #dfcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb943",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 51.679,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78038,
    "c": 0.1368,
    "h": 100
  },
  "luminance": 0.47941
}

Semantic roles & 50–950 ramp

primary
#CCB943
secondary
#98A0D3
accent
#5CE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB943

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

Preview Lab → · Contrast checker → · Palette generator →

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