#CCAF46#CCAF46

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

Color values

HEX#CCAF46
RGBrgb(204, 175, 70)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 14.2%, 65.7%, 20%)
CIE-LABlab(72.19, -1.30, 55.90)
CIE-LCHlch(72.19, 55.92, 91.33°)
OKLaboklab(75.99% -0.008 0.1268)
OKLCHoklch(75.99% 0.127 93.6)
XYZxyz(41.3393, 43.9417, 12.0973)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF46 #4663CC
analogous
#CC6C46 #CCAF46 #A6CC46
triadic
#CCAF46 #46CCAF #AF46CC
tetradic
#CCAF46 #46CC6C #4663CC #CC46A6
square
#CCAF46 #46CC6C #4663CC #CC46A6
split-complementary
#CCAF46 #46A6CC #6C46CC
monochromatic
#776421 #A78D2E #CCAF46 #D9C476 #E6D8A6

Accessibility & contrast

On white

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

On black

9.79
#CCAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF46
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF46#FFFFFF#000000##000000
##CCAF461.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccaf46;
/* rgb */ color: rgb(204, 175, 70);
/* oklch */ color: oklch(76.0% 0.127 93.6);
Tailwind
colors: {
  custom: {
    50: '#dfc67e',
    500: '#ccaf46',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf46;
$custom-light: #dfc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf46",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 47.015,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.127,
    "h": 93.6
  },
  "luminance": 0.4394
}

Semantic roles & 50–950 ramp

primary
#CCAF46
secondary
#9AA7D4
accent
#69E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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