#C2B150#C2B150

#C2B150 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.119 H 99.5°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C2B150
RGBrgb(194, 177, 80)
HSLhsl(51, 48%, 54%)
HSVhsv(51, 59%, 76%)
CMYKcmyk(0%, 8.8%, 58.8%, 23.9%)
CIE-LABlab(71.89, -5.96, 50.81)
CIE-LCHlch(71.89, 51.16, 96.69°)
OKLaboklab(75.56% -0.0196 0.1176)
OKLCHoklch(75.56% 0.119 99.5)
XYZxyz(39.4197, 43.4944, 13.9067)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B150 #5061C2
analogous
#C27850 #C2B150 #9AC250
triadic
#C2B150 #50C2B1 #B150C2
tetradic
#C2B150 #50C278 #5061C2 #C2509A
square
#C2B150 #50C278 #5061C2 #C2509A
split-complementary
#C2B150 #509AC2 #7850C2
monochromatic
#706527 #9E8E37 #C2B150 #D2C57D #E2D9AB

Accessibility & contrast

On white

2.17
#C2B150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C2B150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B150
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B150#FFFFFF#000000##000000
##C2B1501.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD46
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#D0A59C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b150;
/* rgb */ color: rgb(194, 177, 80);
/* oklch */ color: oklch(75.6% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#d7c884',
    500: '#c2b150',
    950: '#000000',
  },
}
SCSS
$custom: #c2b150;
$custom-light: #d7c884;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b150",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 51.053,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75563,
    "c": 0.1192,
    "h": 99.5
  },
  "luminance": 0.43493
}

Semantic roles & 50–950 ramp

primary
#C2B150
secondary
#9FA6CF
accent
#64D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B150

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

Preview Lab → · Contrast checker → · Palette generator →

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