#CCAF43#CCAF43

#CCAF43 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.129 H 93.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CCAF43
RGBrgb(204, 175, 67)
HSLhsl(47, 57%, 53%)
HSVhsv(47, 67%, 80%)
CMYKcmyk(0%, 14.2%, 67.2%, 20%)
CIE-LABlab(72.16, -1.47, 57.17)
CIE-LCHlch(72.16, 57.19, 91.48°)
OKLaboklab(75.96% -0.0089 0.129)
OKLCHoklch(75.96% 0.129 93.9)
XYZxyz(41.2470, 43.9048, 11.6110)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF43 #4360CC
analogous
#CC6A43 #CCAF43 #A5CC43
triadic
#CCAF43 #43CCAF #AF43CC
tetradic
#CCAF43 #43CC6A #4360CC #CC43A5
square
#CCAF43 #43CC6A #4360CC #CC43A5
split-complementary
#CCAF43 #43A5CC #6A43CC
monochromatic
#756320 #A58C2D #CCAF43 #D9C373 #E6D8A3

Accessibility & contrast

On white

2.15
#CCAF43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CCAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF43
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF43#FFFFFF#000000##000000
##CCAF431.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf43;
/* rgb */ color: rgb(204, 175, 67);
/* oklch */ color: oklch(76.0% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#dfc67c',
    500: '#ccaf43',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf43;
$custom-light: #dfc67c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf43",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 47.299,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.12926,
    "h": 93.9
  },
  "luminance": 0.43903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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