#C2B15D#C2B15D

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

Color values

HEX#C2B15D
RGBrgb(194, 177, 93)
HSLhsl(50, 45%, 56%)
HSVhsv(50, 52%, 76%)
CMYKcmyk(0%, 8.8%, 52.1%, 23.9%)
CIE-LABlab(72.03, -4.91, 44.75)
CIE-LCHlch(72.03, 45.02, 96.27°)
OKLaboklab(75.72% -0.0151 0.1059)
OKLCHoklch(75.72% 0.107 98.1)
XYZxyz(39.9474, 43.7055, 16.6856)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B15D #5D6EC2
analogous
#C27F5D #C2B15D #A1C25D
triadic
#C2B15D #5DC2B1 #B15DC2
tetradic
#C2B15D #5DC27F #5D6EC2 #C25DA1
square
#C2B15D #5DC27F #5D6EC2 #C25DA1
split-complementary
#C2B15D #5DA1C2 #7F5DC2
monochromatic
#786B2D #A4933E #C2B15D #D3C689 #E3DCB6

Accessibility & contrast

On white

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

On black

9.74
#C2B15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B15D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B15D#FFFFFF#000000##000000
##C2B15D1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD55
Deuteranopia (green-blind)
#C4B361
Tritanopia (blue-blind)
#CFA69E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b15d;
/* rgb */ color: rgb(194, 177, 93);
/* oklch */ color: oklch(75.7% 0.107 98.1);
Tailwind
colors: {
  custom: {
    50: '#d6c88d',
    500: '#c2b15d',
    950: '#000000',
  },
}
SCSS
$custom: #c2b15d;
$custom-light: #d6c88d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b15d",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 93
  },
  "hsl": {
    "h": 49.901,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.75722,
    "c": 0.10694,
    "h": 98.1
  },
  "luminance": 0.43704
}

Semantic roles & 50–950 ramp

primary
#C2B15D
secondary
#A9B0D2
accent
#69D553
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2B15D

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

Preview Lab → · Contrast checker → · Palette generator →

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