#C1AF35#C1AF35

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

Color values

HEX#C1AF35
RGBrgb(193, 175, 53)
HSLhsl(52, 57%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 9.3%, 72.5%, 24.3%)
CIE-LABlab(71.05, -6.97, 61.30)
CIE-LCHlch(71.05, 61.70, 96.49°)
OKLaboklab(74.8% -0.0255 0.1356)
OKLCHoklch(74.8% 0.138 100.6)
XYZxyz(37.9667, 42.2562, 9.5239)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF35 #3547C1
analogous
#C16935 #C1AF35 #8DC135
triadic
#C1AF35 #35C1AF #AF35C1
tetradic
#C1AF35 #35C169 #3547C1 #C1358D
square
#C1AF35 #35C169 #3547C1 #C1358D
split-complementary
#C1AF35 #358DC1 #6935C1
monochromatic
#61581B #918328 #C1AF35 #D3C460 #E0D690

Accessibility & contrast

On white

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

On black

9.45
#C1AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF35
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF35#FFFFFF#000000##000000
##C1AF351.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1af35;
/* rgb */ color: rgb(193, 175, 53);
/* oklch */ color: oklch(74.8% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#d7c674',
    500: '#c1af35',
    950: '#000000',
  },
}
SCSS
$custom: #c1af35;
$custom-light: #d7c674;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af35",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 52.286,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.13798,
    "h": 100.6
  },
  "luminance": 0.42254
}

Semantic roles & 50–950 ramp

primary
#C1AF35
secondary
#878FCB
accent
#5BE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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