#C3B151#C3B151

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

Color values

HEX#C3B151
RGBrgb(195, 177, 81)
HSLhsl(51, 49%, 54%)
HSVhsv(51, 58%, 76%)
CMYKcmyk(0%, 9.2%, 58.5%, 23.5%)
CIE-LABlab(71.99, -5.46, 50.48)
CIE-LCHlch(71.99, 50.78, 96.17°)
OKLaboklab(75.67% -0.0181 0.117)
OKLCHoklch(75.67% 0.118 98.8)
XYZxyz(39.7145, 43.6421, 14.1148)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B151 #5163C3
analogous
#C37851 #C3B151 #9CC351
triadic
#C3B151 #51C3B1 #B151C3
tetradic
#C3B151 #51C378 #5163C3 #C3519C
square
#C3B151 #51C378 #5163C3 #C3519C
split-complementary
#C3B151 #519CC3 #7851C3
monochromatic
#726627 #A08F37 #C3B151 #D3C57F #E2DAAC

Accessibility & contrast

On white

2.16
#C3B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C3B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B151
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B151#FFFFFF#000000##000000
##C3B1511.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3b151;
/* rgb */ color: rgb(195, 177, 81);
/* oklch */ color: oklch(75.7% 0.118 98.8);
Tailwind
colors: {
  custom: {
    50: '#d8c885',
    500: '#c3b151',
    950: '#000000',
  },
}
SCSS
$custom: #c3b151;
$custom-light: #d8c885;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b151",
  "rgb": {
    "r": 195,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 50.526,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75667,
    "c": 0.11838,
    "h": 98.8
  },
  "luminance": 0.4364
}

Semantic roles & 50–950 ramp

primary
#C3B151
secondary
#A0A7D0
accent
#65D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C3B151

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

Preview Lab → · Contrast checker → · Palette generator →

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