#C1B545#C1B545

#C1B545 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.132 H 103.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C1B545
RGBrgb(193, 181, 69)
HSLhsl(54, 50%, 51%)
HSVhsv(54, 64%, 76%)
CMYKcmyk(0%, 6.2%, 64.2%, 24.3%)
CIE-LABlab(72.77, -9.22, 56.65)
CIE-LCHlch(72.77, 57.39, 99.24°)
OKLaboklab(76.21% -0.0301 0.1285)
OKLCHoklch(76.21% 0.132 103.2)
XYZxyz(39.5919, 44.8164, 12.1940)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B545 #4551C1
analogous
#C17745 #C1B545 #8FC145
triadic
#C1B545 #45C1B5 #B545C1
tetradic
#C1B545 #45C177 #4551C1 #C1458F
square
#C1B545 #45C177 #4551C1 #C1458F
split-complementary
#C1B545 #458FC1 #7745C1
monochromatic
#696223 #978D32 #C1B545 #D0C773 #E0DAA1

Accessibility & contrast

On white

2.11
#C1B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C1B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B545
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B545#FFFFFF#000000##000000
##C1B5451.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#CFA99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c1b545;
/* rgb */ color: rgb(193, 181, 69);
/* oklch */ color: oklch(76.2% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#d7ca7e',
    500: '#c1b545',
    950: '#000000',
  },
}
SCSS
$custom: #c1b545;
$custom-light: #d7ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b545",
  "rgb": {
    "r": 193,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 54.194,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7621,
    "c": 0.13198,
    "h": 103.2
  },
  "luminance": 0.44815
}

Semantic roles & 50–950 ramp

primary
#C1B545
secondary
#969BCC
accent
#5CDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B545

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

Preview Lab → · Contrast checker → · Palette generator →

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