#C1B951#C1B951

#C1B951 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.2% C 0.126 H 104.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C1B951
RGBrgb(193, 185, 81)
HSLhsl(56, 47%, 54%)
HSVhsv(56, 58%, 76%)
CMYKcmyk(0%, 4.1%, 58%, 24.3%)
CIE-LABlab(73.95, -10.47, 52.65)
CIE-LCHlch(73.95, 53.68, 101.24°)
OKLaboklab(77.18% -0.0323 0.1217)
OKLCHoklch(77.18% 0.126 104.9)
XYZxyz(40.8278, 46.6308, 14.6330)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B951 #5159C1
analogous
#C18151 #C1B951 #91C151
triadic
#C1B951 #51C1B9 #B951C1
tetradic
#C1B951 #51C181 #5159C1 #C15191
square
#C1B951 #51C181 #5159C1 #C15191
split-complementary
#C1B951 #5191C1 #8151C1
monochromatic
#706B28 #9D9638 #C1B951 #D1CB7E #E1DDAB

Accessibility & contrast

On white

2.03
#C1B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#C1B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B951
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B951#FFFFFF#000000##000000
##C1B9511.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#CEAEA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c1b951;
/* rgb */ color: rgb(193, 185, 81);
/* oklch */ color: oklch(77.2% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#d6cd86',
    500: '#c1b951',
    950: '#000000',
  },
}
SCSS
$custom: #c1b951;
$custom-light: #d6cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b951",
  "rgb": {
    "r": 193,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 55.714,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77184,
    "c": 0.12587,
    "h": 104.9
  },
  "luminance": 0.46629
}

Semantic roles & 50–950 ramp

primary
#C1B951
secondary
#9FA2CF
accent
#5AD751
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C1B951

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

Preview Lab → · Contrast checker → · Palette generator →

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