#C1B145#C1B145

#C1B145 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.128 H 100.9°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C1B145
RGBrgb(193, 177, 69)
HSLhsl(52, 50%, 51%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.3%, 64.2%, 24.3%)
CIE-LABlab(71.70, -7.14, 55.51)
CIE-LCHlch(71.70, 55.97, 97.33°)
OKLaboklab(75.36% -0.0242 0.1261)
OKLCHoklch(75.36% 0.128 100.9)
XYZxyz(38.7902, 43.2130, 11.9268)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B145 #4555C1
analogous
#C17345 #C1B145 #93C145
triadic
#C1B145 #45C1B1 #B145C1
tetradic
#C1B145 #45C173 #4555C1 #C14593
square
#C1B145 #45C173 #4555C1 #C14593
split-complementary
#C1B145 #4593C1 #7345C1
monochromatic
#696023 #978A32 #C1B145 #D0C473 #E0D7A1

Accessibility & contrast

On white

2.18
#C1B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C1B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B145
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B145#FFFFFF#000000##000000
##C1B1451.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#CFA59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b145;
/* rgb */ color: rgb(193, 177, 69);
/* oklch */ color: oklch(75.4% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#d7c87e',
    500: '#c1b145',
    950: '#000000',
  },
}
SCSS
$custom: #c1b145;
$custom-light: #d7c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b145",
  "rgb": {
    "r": 193,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 52.258,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.12839,
    "h": 100.9
  },
  "luminance": 0.43211
}

Semantic roles & 50–950 ramp

primary
#C1B145
secondary
#969DCC
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B145

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

Preview Lab → · Contrast checker → · Palette generator →

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