#C1AE40#C1AE40

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

Color values

HEX#C1AE40
RGBrgb(193, 174, 64)
HSLhsl(51, 51%, 50%)
HSVhsv(51, 67%, 76%)
CMYKcmyk(0%, 9.8%, 66.8%, 24.3%)
CIE-LABlab(70.86, -5.87, 56.75)
CIE-LCHlch(70.86, 57.06, 95.90°)
OKLaboklab(74.68% -0.0211 0.1279)
OKLCHoklch(74.68% 0.13 99.4)
XYZxyz(38.0555, 41.9815, 10.9482)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1AE40 #4053C1
analogous
#C16E40 #C1AE40 #93C140
triadic
#C1AE40 #40C1AE #AE40C1
tetradic
#C1AE40 #40C16E #4053C1 #C14093
square
#C1AE40 #40C16E #4053C1 #C14093
split-complementary
#C1AE40 #4093C1 #6E40C1
monochromatic
#665C21 #948530 #C1AE40 #D0C26E #DFD59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1AE40#FFFFFF#000000##000000
##C1AE401.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)
#BEA932
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#D0A297
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c1ae40;
/* rgb */ color: rgb(193, 174, 64);
/* oklch */ color: oklch(74.7% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#d7c57a',
    500: '#c1ae40',
    950: '#000000',
  },
}
SCSS
$custom: #c1ae40;
$custom-light: #d7c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ae40",
  "rgb": {
    "r": 193,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 51.163,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.12967,
    "h": 99.4
  },
  "luminance": 0.4198
}

Semantic roles & 50–950 ramp

primary
#C1AE40
secondary
#929ACB
accent
#62DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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