#C1AE42#C1AE42

#C1AE42 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.7% C 0.128 H 99.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C1AE42
RGBrgb(193, 174, 66)
HSLhsl(51, 51%, 51%)
HSVhsv(51, 66%, 76%)
CMYKcmyk(0%, 9.8%, 65.8%, 24.3%)
CIE-LABlab(70.87, -5.75, 55.93)
CIE-LCHlch(70.87, 56.22, 95.87°)
OKLaboklab(74.7% -0.0206 0.1265)
OKLCHoklch(74.7% 0.128 99.2)
XYZxyz(38.1134, 42.0046, 11.2533)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AE42 #4255C1
analogous
#C16E42 #C1AE42 #94C142
triadic
#C1AE42 #42C1AE #AE42C1
tetradic
#C1AE42 #42C16E #4255C1 #C14294
square
#C1AE42 #42C16E #4255C1 #C14294
split-complementary
#C1AE42 #4294C1 #6E42C1
monochromatic
#675D22 #958631 #C1AE42 #D0C270 #DFD59E

Accessibility & contrast

On white

2.23
#C1AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C1AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1AE42
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1AE42#FFFFFF#000000##000000
##C1AE421.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#CFA297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c1ae42;
/* rgb */ color: rgb(193, 174, 66);
/* oklch */ color: oklch(74.7% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#d7c57c',
    500: '#c1ae42',
    950: '#000000',
  },
}
SCSS
$custom: #c1ae42;
$custom-light: #d7c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ae42",
  "rgb": {
    "r": 193,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 51.024,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74697,
    "c": 0.12816,
    "h": 99.2
  },
  "luminance": 0.42003
}

Semantic roles & 50–950 ramp

primary
#C1AE42
secondary
#939CCC
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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