#C2B15A#C2B15A

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

Color values

HEX#C2B15A
RGBrgb(194, 177, 90)
HSLhsl(50, 46%, 56%)
HSVhsv(50, 54%, 76%)
CMYKcmyk(0%, 8.8%, 53.6%, 23.9%)
CIE-LABlab(72.00, -5.17, 46.18)
CIE-LCHlch(72.00, 46.47, 96.39°)
OKLaboklab(75.68% -0.0162 0.1087)
OKLCHoklch(75.68% 0.11 98.5)
XYZxyz(39.8171, 43.6534, 15.9995)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B15A #5A6BC2
analogous
#C27D5A #C2B15A #9FC25A
triadic
#C2B15A #5AC2B1 #B15AC2
tetradic
#C2B15A #5AC27D #5A6BC2 #C25A9F
square
#C2B15A #5AC27D #5A6BC2 #C25A9F
split-complementary
#C2B15A #5A9FC2 #7D5AC2
monochromatic
#766A2C #A3923C #C2B15A #D3C687 #E3DBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B15A#FFFFFF#000000##000000
##C2B15A1.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)
#BFAD52
Deuteranopia (green-blind)
#C4B35E
Tritanopia (blue-blind)
#CFA69D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b15a;
/* rgb */ color: rgb(194, 177, 90);
/* oklch */ color: oklch(75.7% 0.110 98.5);
Tailwind
colors: {
  custom: {
    50: '#d7c88b',
    500: '#c2b15a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b15a;
$custom-light: #d7c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b15a",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 90
  },
  "hsl": {
    "h": 50.192,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75683,
    "c": 0.1099,
    "h": 98.5
  },
  "luminance": 0.43652
}

Semantic roles & 50–950 ramp

primary
#C2B15A
secondary
#A6ADD2
accent
#68D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B15A

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

Preview Lab → · Contrast checker → · Palette generator →

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