#CCB43F#CCB43F

#CCB43F is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.136 H 97.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CCB43F
RGBrgb(204, 180, 63)
HSLhsl(50, 58%, 52%)
HSVhsv(50, 69%, 80%)
CMYKcmyk(0%, 11.8%, 69.1%, 20%)
CIE-LABlab(73.44, -4.32, 60.14)
CIE-LCHlch(73.44, 60.29, 94.11°)
OKLaboklab(76.96% -0.0175 0.1346)
OKLCHoklch(76.96% 0.136 97.4)
XYZxyz(42.1223, 45.8409, 11.3311)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB43F #3F57CC
analogous
#CC6D3F #CCB43F #9ECC3F
triadic
#CCB43F #3FCCB4 #B43FCC
tetradic
#CCB43F #3FCC6D #3F57CC #CC3F9E
square
#CCB43F #3FCC6D #3F57CC #CC3F9E
split-complementary
#CCB43F #3F9ECC #6D3FCC
monochromatic
#72641E #A38E2B #CCB43F #D9C76F #E6DAA0

Accessibility & contrast

On white

2.07
#CCB43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CCB43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB43F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB43F#FFFFFF#000000##000000
##CCB43F1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02F
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#DCA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb43f;
/* rgb */ color: rgb(204, 180, 63);
/* oklch */ color: oklch(77.0% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfca7b',
    500: '#ccb43f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb43f;
$custom-light: #dfca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb43f",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 49.787,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76962,
    "c": 0.13568,
    "h": 97.4
  },
  "luminance": 0.45839
}

Semantic roles & 50–950 ramp

primary
#CCB43F
secondary
#959FD2
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCB43F

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

Preview Lab → · Contrast checker → · Palette generator →

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