#CCB343#CCB343

#CCB343 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.132 H 96.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CCB343
RGBrgb(204, 179, 67)
HSLhsl(49, 57%, 53%)
HSVhsv(49, 67%, 80%)
CMYKcmyk(0%, 12.3%, 67.2%, 20%)
CIE-LABlab(73.21, -3.58, 58.26)
CIE-LCHlch(73.21, 58.37, 93.51°)
OKLaboklab(76.79% -0.0149 0.1313)
OKLCHoklch(76.79% 0.132 96.5)
XYZxyz(42.0370, 45.4849, 11.8744)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB343 #435CCC
analogous
#CC6E43 #CCB343 #A0CC43
triadic
#CCB343 #43CCB3 #B343CC
tetradic
#CCB343 #43CC6E #435CCC #CC43A0
square
#CCB343 #43CC6E #435CCC #CC43A0
split-complementary
#CCB343 #43A0CC #6E43CC
monochromatic
#756520 #A58F2D #CCB343 #D9C673 #E6DAA3

Accessibility & contrast

On white

2.08
#CCB343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CCB343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB343
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB343#FFFFFF#000000##000000
##CCB3431.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF35
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb343;
/* rgb */ color: rgb(204, 179, 67);
/* oklch */ color: oklch(76.8% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#dfc97d',
    500: '#ccb343',
    950: '#000000',
  },
}
SCSS
$custom: #ccb343;
$custom-light: #dfc97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb343",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 49.051,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.1321,
    "h": 96.5
  },
  "luminance": 0.45483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB343

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

Preview Lab → · Contrast checker → · Palette generator →

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