#CCB143#CCB143

#CCB143 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.131 H 95.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CCB143
RGBrgb(204, 177, 67)
HSLhsl(48, 57%, 53%)
HSVhsv(48, 67%, 80%)
CMYKcmyk(0%, 13.2%, 67.2%, 20%)
CIE-LABlab(72.69, -2.53, 57.71)
CIE-LCHlch(72.69, 57.77, 92.51°)
OKLaboklab(76.37% -0.0119 0.1301)
OKLCHoklch(76.37% 0.131 95.2)
XYZxyz(41.6391, 44.6891, 11.7417)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB143 #435ECC
analogous
#CC6C43 #CCB143 #A2CC43
triadic
#CCB143 #43CCB1 #B143CC
tetradic
#CCB143 #43CC6C #435ECC #CC43A2
square
#CCB143 #43CC6C #435ECC #CC43A2
split-complementary
#CCB143 #43A2CC #6C43CC
monochromatic
#756420 #A58D2D #CCB143 #D9C573 #E6D9A3

Accessibility & contrast

On white

2.11
#CCB143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CCB143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB143
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB143#FFFFFF#000000##000000
##CCB1431.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD35
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb143;
/* rgb */ color: rgb(204, 177, 67);
/* oklch */ color: oklch(76.4% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfc87d',
    500: '#ccb143',
    950: '#000000',
  },
}
SCSS
$custom: #ccb143;
$custom-light: #dfc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb143",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 48.175,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76373,
    "c": 0.13064,
    "h": 95.2
  },
  "luminance": 0.44687
}

Semantic roles & 50–950 ramp

primary
#CCB143
secondary
#98A4D3
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB143

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

Preview Lab → · Contrast checker → · Palette generator →

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