#C1B151#C1B151

#C1B151 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.118 H 100.0°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C1B151
RGBrgb(193, 177, 81)
HSLhsl(51, 47%, 54%)
HSVhsv(51, 58%, 76%)
CMYKcmyk(0%, 8.3%, 58%, 24.3%)
CIE-LABlab(71.81, -6.31, 50.23)
CIE-LCHlch(71.81, 50.63, 97.16°)
OKLaboklab(75.48% -0.0204 0.1165)
OKLCHoklch(75.48% 0.118 100)
XYZxyz(39.2011, 43.3774, 14.0908)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B151 #5161C1
analogous
#C17951 #C1B151 #99C151
triadic
#C1B151 #51C1B1 #B151C1
tetradic
#C1B151 #51C179 #5161C1 #C15199
square
#C1B151 #51C179 #5161C1 #C15199
split-complementary
#C1B151 #5199C1 #7951C1
monochromatic
#706528 #9D8E38 #C1B151 #D1C57E #E1D9AB

Accessibility & contrast

On white

2.17
#C1B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C1B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B151
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B151#FFFFFF#000000##000000
##C1B1511.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#C5B356
Tritanopia (blue-blind)
#CFA69C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b151;
/* rgb */ color: rgb(193, 177, 81);
/* oklch */ color: oklch(75.5% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#d6c885',
    500: '#c1b151',
    950: '#000000',
  },
}
SCSS
$custom: #c1b151;
$custom-light: #d6c885;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b151",
  "rgb": {
    "r": 193,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.11827,
    "h": 100
  },
  "luminance": 0.43376
}

Semantic roles & 50–950 ramp

primary
#C1B151
secondary
#9FA6CF
accent
#64D751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C1B151

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

Preview Lab → · Contrast checker → · Palette generator →

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