#C1AF3E#C1AF3E

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

Color values

HEX#C1AF3E
RGBrgb(193, 175, 62)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 68%, 76%)
CMYKcmyk(0%, 9.3%, 67.9%, 24.3%)
CIE-LABlab(71.11, -6.51, 57.84)
CIE-LCHlch(71.11, 58.21, 96.42°)
OKLaboklab(74.87% -0.0232 0.1299)
OKLCHoklch(74.87% 0.132 100.1)
XYZxyz(38.1935, 42.3469, 10.7185)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF3E #3E50C1
analogous
#C16E3E #C1AF3E #91C13E
triadic
#C1AF3E #3EC1AF #AF3EC1
tetradic
#C1AF3E #3EC16E #3E50C1 #C13E91
square
#C1AF3E #3EC16E #3E50C1 #C13E91
split-complementary
#C1AF3E #3E91C1 #6E3EC1
monochromatic
#645B20 #93852F #C1AF3E #D0C26C #DFD59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AF3E#FFFFFF#000000##000000
##C1AF3E1.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)
#BFAA2F
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af3e;
/* rgb */ color: rgb(193, 175, 62);
/* oklch */ color: oklch(74.9% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#d7c679',
    500: '#c1af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c1af3e;
$custom-light: #d7c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af3e",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 51.756,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.74873,
    "c": 0.13196,
    "h": 100.1
  },
  "luminance": 0.42345
}

Semantic roles & 50–950 ramp

primary
#C1AF3E
secondary
#9098CB
accent
#60DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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