#CCA92D#CCA92D

#CCA92D is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.6% C 0.139 H 92.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CCA92D
RGBrgb(204, 169, 45)
HSLhsl(47, 64%, 49%)
HSVhsv(47, 78%, 80%)
CMYKcmyk(0%, 17.2%, 77.9%, 20%)
CIE-LABlab(70.46, 0.67, 63.96)
CIE-LCHlch(70.46, 63.96, 89.40°)
OKLaboklab(74.57% -0.0052 0.1392)
OKLCHoklch(74.57% 0.139 92.1)
XYZxyz(39.5658, 41.4052, 8.3902)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA92D #2D50CC
analogous
#CC592D #CCA92D #A0CC2D
triadic
#CCA92D #2DCCA9 #A92DCC
tetradic
#CCA92D #2DCC59 #2D50CC #CC2DA0
square
#CCA92D #2DCC59 #2D50CC #CC2DA0
split-complementary
#CCA92D #2DA0CC #592DCC
monochromatic
#685617 #9A7F22 #CCA92D #DBBF5B #E6D28D

Accessibility & contrast

On white

2.26
#CCA92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CCA92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA92D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA92D#FFFFFF#000000##000000
##CCA92D1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA612
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#DD9B91
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cca92d;
/* rgb */ color: rgb(204, 169, 45);
/* oklch */ color: oklch(74.6% 0.139 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c270',
    500: '#cca92d',
    950: '#000000',
  },
}
SCSS
$custom: #cca92d;
$custom-light: #e0c270;
$custom-dark: #000000;
JSON
{
  "hex": "#cca92d",
  "rgb": {
    "r": 204,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 46.792,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.13933,
    "h": 92.1
  },
  "luminance": 0.41403
}

Semantic roles & 50–950 ramp

primary
#CCA92D
secondary
#8595D0
accent
#65E741
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCA92D

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

Preview Lab → · Contrast checker → · Palette generator →

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