#C4AF35#C4AF35

#C4AF35 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.138 H 99.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C4AF35
RGBrgb(196, 175, 53)
HSLhsl(51, 57%, 49%)
HSVhsv(51, 73%, 77%)
CMYKcmyk(0%, 10.7%, 73%, 23.1%)
CIE-LABlab(71.32, -5.66, 61.66)
CIE-LCHlch(71.32, 61.92, 95.25°)
OKLaboklab(75.09% -0.0219 0.1363)
OKLCHoklch(75.09% 0.138 99.2)
XYZxyz(38.7394, 42.6546, 9.5601)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF35 #354AC4
analogous
#C46835 #C4AF35 #92C435
triadic
#C4AF35 #35C4AF #AF35C4
tetradic
#C4AF35 #35C468 #354AC4 #C43592
square
#C4AF35 #35C468 #354AC4 #C43592
split-complementary
#C4AF35 #3592C4 #6835C4
monochromatic
#64591B #948428 #C4AF35 #D4C462 #E1D692

Accessibility & contrast

On white

2.20
#C4AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C4AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AF35
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AF35#FFFFFF#000000##000000
##C4AF351.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#D3A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af35;
/* rgb */ color: rgb(196, 175, 53);
/* oklch */ color: oklch(75.1% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#dac675',
    500: '#c4af35',
    950: '#000000',
  },
}
SCSS
$custom: #c4af35;
$custom-light: #dac675;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af35",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 51.189,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75085,
    "c": 0.13802,
    "h": 99.2
  },
  "luminance": 0.42653
}

Semantic roles & 50–950 ramp

primary
#C4AF35
secondary
#8892CC
accent
#5EE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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