#C1AF45#C1AF45

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

Color values

HEX#C1AF45
RGBrgb(193, 175, 69)
HSLhsl(51, 50%, 51%)
HSVhsv(51, 64%, 76%)
CMYKcmyk(0%, 9.3%, 64.2%, 24.3%)
CIE-LABlab(71.17, -6.09, 54.94)
CIE-LCHlch(71.17, 55.28, 96.32°)
OKLaboklab(74.94% -0.0212 0.1249)
OKLCHoklch(74.94% 0.127 99.6)
XYZxyz(38.3981, 42.4288, 11.7961)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AF45 #4557C1
analogous
#C17145 #C1AF45 #95C145
triadic
#C1AF45 #45C1AF #AF45C1
tetradic
#C1AF45 #45C171 #4557C1 #C14595
square
#C1AF45 #45C171 #4557C1 #C14595
split-complementary
#C1AF45 #4595C1 #7145C1
monochromatic
#695F23 #978832 #C1AF45 #D0C373 #E0D6A1

Accessibility & contrast

On white

2.21
#C1AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#C1AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AF45
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AF45#FFFFFF#000000##000000
##C1AF451.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#CFA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c1af45;
/* rgb */ color: rgb(193, 175, 69);
/* oklch */ color: oklch(74.9% 0.127 99.6);
Tailwind
colors: {
  custom: {
    50: '#d7c67d',
    500: '#c1af45',
    950: '#000000',
  },
}
SCSS
$custom: #c1af45;
$custom-light: #d7c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1af45",
  "rgb": {
    "r": 193,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 51.29,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74936,
    "c": 0.12667,
    "h": 99.6
  },
  "luminance": 0.42427
}

Semantic roles & 50–950 ramp

primary
#C1AF45
secondary
#969ECC
accent
#62DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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