#C1B431#C1B431

#C1B431 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.8% C 0.145 H 103.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C1B431
RGBrgb(193, 180, 49)
HSLhsl(55, 60%, 47%)
HSVhsv(55, 75%, 76%)
CMYKcmyk(0%, 6.7%, 74.6%, 24.3%)
CIE-LABlab(72.36, -9.75, 63.99)
CIE-LCHlch(72.36, 64.73, 98.66°)
OKLaboklab(75.84% -0.0337 0.1406)
OKLCHoklch(75.84% 0.145 103.5)
XYZxyz(38.8697, 44.2034, 9.3898)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B431 #313EC1
analogous
#C16C31 #C1B431 #86C131
triadic
#C1B431 #31C1B4 #B431C1
tetradic
#C1B431 #31C16C #313EC1 #C13186
square
#C1B431 #31C16C #313EC1 #C13186
split-complementary
#C1B431 #3186C1 #6C31C1
monochromatic
#5F5918 #908625 #C1B431 #D5CA5A #E2DA8B

Accessibility & contrast

On white

2.13
#C1B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C1B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B431
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B431#FFFFFF#000000##000000
##C1B4311.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE16
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#D0A79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c1b431;
/* rgb */ color: rgb(193, 180, 49);
/* oklch */ color: oklch(75.8% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#d8ca73',
    500: '#c1b431',
    950: '#000000',
  },
}
SCSS
$custom: #c1b431;
$custom-light: #d8ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b431",
  "rgb": {
    "r": 193,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 54.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.14456,
    "h": 103.5
  },
  "luminance": 0.44202
}

Semantic roles & 50–950 ramp

primary
#C1B431
secondary
#8289CC
accent
#53E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B431

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

Preview Lab → · Contrast checker → · Palette generator →

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