#C1A830#C1A830

#C1A830 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.136 H 96.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#C1A830
RGBrgb(193, 168, 48)
HSLhsl(50, 60%, 47%)
HSVhsv(50, 75%, 76%)
CMYKcmyk(0%, 13%, 75.1%, 24.3%)
CIE-LABlab(69.15, -3.51, 61.32)
CIE-LCHlch(69.15, 61.42, 93.28°)
OKLaboklab(73.29% -0.0162 0.1347)
OKLCHoklch(73.29% 0.136 96.9)
XYZxyz(36.5303, 39.5581, 8.5071)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A830 #3049C1
analogous
#C15F30 #C1A830 #92C130
triadic
#C1A830 #30C1A8 #A830C1
tetradic
#C1A830 #30C15F #3049C1 #C13092
square
#C1A830 #30C15F #3049C1 #C13092
split-complementary
#C1A830 #3092C1 #5F30C1
monochromatic
#5F5318 #907D24 #C1A830 #D6C059 #E2D38A

Accessibility & contrast

On white

2.36
#C1A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#C1A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A830
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A830#FFFFFF#000000##000000
##C1A8301.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#C0AC38
Tritanopia (blue-blind)
#D19B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c1a830;
/* rgb */ color: rgb(193, 168, 48);
/* oklch */ color: oklch(73.3% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#d8c171',
    500: '#c1a830',
    950: '#000000',
  },
}
SCSS
$custom: #c1a830;
$custom-light: #d8c171;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a830",
  "rgb": {
    "r": 193,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 49.655,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.13566,
    "h": 96.9
  },
  "luminance": 0.39556
}

Semantic roles & 50–950 ramp

primary
#C1A830
secondary
#818ECC
accent
#60E344
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A830

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

Preview Lab → · Contrast checker → · Palette generator →

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