#C1AF39#C1AF39

#C1AF39 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.135 H 100.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C1AF39
RGBrgb(193, 175, 57)
HSLhsl(52, 54%, 49%)
HSVhsv(52, 70%, 76%)
CMYKcmyk(0%, 9.3%, 70.5%, 24.3%)
CIE-LABlab(71.07, -6.77, 59.80)
CIE-LCHlch(71.07, 60.19, 96.46°)
OKLaboklab(74.83% -0.0245 0.1332)
OKLCHoklch(74.83% 0.135 100.4)
XYZxyz(38.0625, 42.2945, 10.0289)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF39 #394BC1
analogous
#C16B39 #C1AF39 #8FC139
triadic
#C1AF39 #39C1AF #AF39C1
tetradic
#C1AF39 #39C16B #394BC1 #C1398F
square
#C1AF39 #39C16B #394BC1 #C1398F
split-complementary
#C1AF39 #398FC1 #6B39C1
monochromatic
#63591D #92842B #C1AF39 #D2C366 #E0D695

Accessibility & contrast

On white

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

On black

9.46
#C1AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF39
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF39#FFFFFF#000000##000000
##C1AF391.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA27
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#D0A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af39;
/* rgb */ color: rgb(193, 175, 57);
/* oklch */ color: oklch(74.8% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d7c677',
    500: '#c1af39',
    950: '#000000',
  },
}
SCSS
$custom: #c1af39;
$custom-light: #d7c677;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af39",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 52.059,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.13541,
    "h": 100.4
  },
  "luminance": 0.42293
}

Semantic roles & 50–950 ramp

primary
#C1AF39
secondary
#8B93CB
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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