#C1A642#C1A642

#C1A642 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.122 H 94.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#C1A642
RGBrgb(193, 166, 66)
HSLhsl(47, 51%, 51%)
HSVhsv(47, 66%, 76%)
CMYKcmyk(0%, 14%, 65.8%, 24.3%)
CIE-LABlab(68.75, -1.52, 53.68)
CIE-LCHlch(68.75, 53.70, 91.62°)
OKLaboklab(73.02% -0.0085 0.1218)
OKLCHoklch(73.02% 0.122 94)
XYZxyz(36.6137, 39.0052, 10.7534)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A642 #425DC1
analogous
#C16642 #C1A642 #9CC142
triadic
#C1A642 #42C1A6 #A642C1
tetradic
#C1A642 #42C166 #425DC1 #C1429C
square
#C1A642 #42C166 #425DC1 #C1429C
split-complementary
#C1A642 #429CC1 #6642C1
monochromatic
#675822 #958031 #C1A642 #D0BC70 #DFD19E

Accessibility & contrast

On white

2.39
#C1A642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#C1A642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A642
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A642#FFFFFF#000000##000000
##C1A6421.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A336
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#D09A91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c1a642;
/* rgb */ color: rgb(193, 166, 66);
/* oklch */ color: oklch(73.0% 0.122 94.0);
Tailwind
colors: {
  custom: {
    50: '#d7c07b',
    500: '#c1a642',
    950: '#000000',
  },
}
SCSS
$custom: #c1a642;
$custom-light: #d7c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a642",
  "rgb": {
    "r": 193,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 47.244,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73019,
    "c": 0.12204,
    "h": 94
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#C1A642
secondary
#939FCC
accent
#6CDA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1A642

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

Preview Lab → · Contrast checker → · Palette generator →

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