#C1AF40#C1AF40

#C1AF40 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.130 H 100.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C1AF40
RGBrgb(193, 175, 64)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 9.3%, 66.8%, 24.3%)
CIE-LABlab(71.12, -6.39, 57.03)
CIE-LCHlch(71.12, 57.39, 96.39°)
OKLaboklab(74.89% -0.0226 0.1285)
OKLCHoklch(74.89% 0.13 100)
XYZxyz(38.2494, 42.3693, 11.0128)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF40 #4052C1
analogous
#C16E40 #C1AF40 #92C140
triadic
#C1AF40 #40C1AF #AF40C1
tetradic
#C1AF40 #40C16E #4052C1 #C14092
square
#C1AF40 #40C16E #4052C1 #C14092
split-complementary
#C1AF40 #4092C1 #6E40C1
monochromatic
#665C21 #948630 #C1AF40 #D0C26E #DFD69C

Accessibility & contrast

On white

2.22
#C1AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#C1AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF40
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF40#FFFFFF#000000##000000
##C1AF401.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af40;
/* rgb */ color: rgb(193, 175, 64);
/* oklch */ color: oklch(74.9% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#d7c67b',
    500: '#c1af40',
    950: '#000000',
  },
}
SCSS
$custom: #c1af40;
$custom-light: #d7c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af40",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 51.628,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7489,
    "c": 0.13049,
    "h": 100
  },
  "luminance": 0.42368
}

Semantic roles & 50–950 ramp

primary
#C1AF40
secondary
#929ACB
accent
#61DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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