#CCA93E#CCA93E

#CCA93E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.129 H 90.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CCA93E
RGBrgb(204, 169, 62)
HSLhsl(45, 58%, 52%)
HSVhsv(45, 70%, 80%)
CMYKcmyk(0%, 17.2%, 69.6%, 20%)
CIE-LABlab(70.57, 1.43, 57.62)
CIE-LCHlch(70.57, 57.63, 88.58°)
OKLaboklab(74.69% -0.0011 0.1291)
OKLCHoklch(74.69% 0.129 90.5)
XYZxyz(39.9615, 41.5635, 10.4742)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA93E #3E61CC
analogous
#CC623E #CCA93E #A8CC3E
triadic
#CCA93E #3ECCA9 #A93ECC
tetradic
#CCA93E #3ECC62 #3E61CC #CC3EA8
square
#CCA93E #3ECC62 #3E61CC #CC3EA8
split-complementary
#CCA93E #3EA8CC #623ECC
monochromatic
#725D1E #A2852B #CCA93E #D9BF6E #E6D49F

Accessibility & contrast

On white

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

On black

9.31
#CCA93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA93E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA93E#FFFFFF#000000##000000
##CCA93E1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA730
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#DC9B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cca93e;
/* rgb */ color: rgb(204, 169, 62);
/* oklch */ color: oklch(74.7% 0.129 90.5);
Tailwind
colors: {
  custom: {
    50: '#dfc279',
    500: '#cca93e',
    950: '#000000',
  },
}
SCSS
$custom: #cca93e;
$custom-light: #dfc279;
$custom-dark: #000000;
JSON
{
  "hex": "#cca93e",
  "rgb": {
    "r": 204,
    "g": 169,
    "b": 62
  },
  "hsl": {
    "h": 45.211,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74688,
    "c": 0.12906,
    "h": 90.5
  },
  "luminance": 0.41561
}

Semantic roles & 50–950 ramp

primary
#CCA93E
secondary
#94A3D2
accent
#6DE146
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA93E

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

Preview Lab → · Contrast checker → · Palette generator →

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