#C1B252#C1B252

#C1B252 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.118 H 100.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C1B252
RGBrgb(193, 178, 82)
HSLhsl(52, 47%, 54%)
HSVhsv(52, 58%, 76%)
CMYKcmyk(0%, 7.8%, 57.5%, 24.3%)
CIE-LABlab(72.09, -6.76, 50.08)
CIE-LCHlch(72.09, 50.54, 97.69°)
OKLaboklab(75.71% -0.0216 0.1163)
OKLCHoklch(75.71% 0.118 100.5)
XYZxyz(39.4371, 43.7890, 14.3558)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B252 #5261C1
analogous
#C17B52 #C1B252 #99C152
triadic
#C1B252 #52C1B2 #B252C1
tetradic
#C1B252 #52C17B #5261C1 #C15299
square
#C1B252 #52C17B #5261C1 #C15299
split-complementary
#C1B252 #5299C1 #7B52C1
monochromatic
#706728 #9D9038 #C1B252 #D1C67F #E1DAAC

Accessibility & contrast

On white

2.15
#C1B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C1B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B252
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B252#FFFFFF#000000##000000
##C1B2521.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#CEA79D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c1b252;
/* rgb */ color: rgb(193, 178, 82);
/* oklch */ color: oklch(75.7% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#d6c886',
    500: '#c1b252',
    950: '#000000',
  },
}
SCSS
$custom: #c1b252;
$custom-light: #d6c886;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b252",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 51.892,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75706,
    "c": 0.11827,
    "h": 100.5
  },
  "luminance": 0.43787
}

Semantic roles & 50–950 ramp

primary
#C1B252
secondary
#A0A6CF
accent
#63D751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C1B252

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

Preview Lab → · Contrast checker → · Palette generator →

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