#CCB843#CCB843

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

Color values

HEX#CCB843
RGBrgb(204, 184, 67)
HSLhsl(51, 57%, 53%)
HSVhsv(51, 67%, 80%)
CMYKcmyk(0%, 9.8%, 67.2%, 20%)
CIE-LABlab(74.52, -6.19, 59.62)
CIE-LCHlch(74.52, 59.94, 95.92°)
OKLaboklab(77.83% -0.0224 0.1341)
OKLCHoklch(77.83% 0.136 99.5)
XYZxyz(43.0574, 47.5256, 12.2145)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB843 #4357CC
analogous
#CC7343 #CCB843 #9BCC43
triadic
#CCB843 #43CCB8 #B843CC
tetradic
#CCB843 #43CC73 #4357CC #CC439B
square
#CCB843 #43CC73 #4357CC #CC439B
split-complementary
#CCB843 #439BCC #7343CC
monochromatic
#756820 #A5932D #CCB843 #D9CA73 #E6DCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB843#FFFFFF#000000##000000
##CCB8431.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)
#C9B333
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#DBABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb843;
/* rgb */ color: rgb(204, 184, 67);
/* oklch */ color: oklch(77.8% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd7d',
    500: '#ccb843',
    950: '#000000',
  },
}
SCSS
$custom: #ccb843;
$custom-light: #dfcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb843",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 51.241,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77829,
    "c": 0.13599,
    "h": 99.5
  },
  "luminance": 0.47524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB843

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

Preview Lab → · Contrast checker → · Palette generator →

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