#CCB243#CCB243

#CCB243 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.131 H 95.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CCB243
RGBrgb(204, 178, 67)
HSLhsl(49, 57%, 53%)
HSVhsv(49, 67%, 80%)
CMYKcmyk(0%, 12.7%, 67.2%, 20%)
CIE-LABlab(72.95, -3.05, 57.98)
CIE-LCHlch(72.95, 58.06, 93.01°)
OKLaboklab(76.58% -0.0134 0.1307)
OKLCHoklch(76.58% 0.131 95.9)
XYZxyz(41.8373, 45.0855, 11.8078)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB243 #435DCC
analogous
#CC6D43 #CCB243 #A1CC43
triadic
#CCB243 #43CCB2 #B243CC
tetradic
#CCB243 #43CC6D #435DCC #CC43A1
square
#CCB243 #43CC6D #435DCC #CC43A1
split-complementary
#CCB243 #43A1CC #6D43CC
monochromatic
#756520 #A58E2D #CCB243 #D9C673 #E6D9A3

Accessibility & contrast

On white

2.10
#CCB243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CCB243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB243
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB243#FFFFFF#000000##000000
##CCB2431.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE35
Deuteranopia (green-blind)
#CAB749
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb243;
/* rgb */ color: rgb(204, 178, 67);
/* oklch */ color: oklch(76.6% 0.131 95.9);
Tailwind
colors: {
  custom: {
    50: '#dfc87d',
    500: '#ccb243',
    950: '#000000',
  },
}
SCSS
$custom: #ccb243;
$custom-light: #dfc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb243",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 48.613,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7658,
    "c": 0.13137,
    "h": 95.9
  },
  "luminance": 0.45083
}

Semantic roles & 50–950 ramp

primary
#CCB243
secondary
#98A3D3
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB243

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

Preview Lab → · Contrast checker → · Palette generator →

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