#CCAF3E#CCAF3E

#CCAF3E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.133 H 94.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CCAF3E
RGBrgb(204, 175, 62)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 14.2%, 69.6%, 20%)
CIE-LABlab(72.13, -1.75, 59.21)
CIE-LCHlch(72.13, 59.23, 91.69°)
OKLaboklab(75.92% -0.0103 0.1324)
OKLCHoklch(75.92% 0.133 94.4)
XYZxyz(41.1034, 43.8473, 10.8549)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF3E #3E5BCC
analogous
#CC683E #CCAF3E #A2CC3E
triadic
#CCAF3E #3ECCAF #AF3ECC
tetradic
#CCAF3E #3ECC68 #3E5BCC #CC3EA2
square
#CCAF3E #3ECC68 #3E5BCC #CC3EA2
split-complementary
#CCAF3E #3EA2CC #683ECC
monochromatic
#72611E #A28A2B #CCAF3E #D9C36E #E6D79F

Accessibility & contrast

On white

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

On black

9.77
#CCAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF3E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF3E#FFFFFF#000000##000000
##CCAF3E1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#C8B544
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf3e;
/* rgb */ color: rgb(204, 175, 62);
/* oklch */ color: oklch(75.9% 0.133 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc67a',
    500: '#ccaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf3e;
$custom-light: #dfc67a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf3e",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 47.746,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75918,
    "c": 0.13281,
    "h": 94.4
  },
  "luminance": 0.43845
}

Semantic roles & 50–950 ramp

primary
#CCAF3E
secondary
#94A1D2
accent
#66E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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