#C2B950#C2B950

#C2B950 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.3% C 0.127 H 104.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C2B950
RGBrgb(194, 185, 80)
HSLhsl(55, 48%, 54%)
HSVhsv(55, 59%, 76%)
CMYKcmyk(0%, 4.6%, 58.8%, 23.9%)
CIE-LABlab(74.03, -10.12, 53.21)
CIE-LCHlch(74.03, 54.16, 100.77°)
OKLaboklab(77.26% -0.0315 0.1227)
OKLCHoklch(77.26% 0.127 104.4)
XYZxyz(41.0464, 46.7479, 14.4489)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B950 #5059C2
analogous
#C28050 #C2B950 #92C250
triadic
#C2B950 #50C2B9 #B950C2
tetradic
#C2B950 #50C280 #5059C2 #C25092
square
#C2B950 #50C280 #5059C2 #C25092
split-complementary
#C2B950 #5092C2 #8050C2
monochromatic
#706B27 #9E9637 #C2B950 #D2CB7D #E2DDAB

Accessibility & contrast

On white

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

On black

10.35
#C2B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B950
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B950#FFFFFF#000000##000000
##C2B9501.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#CFAEA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b950;
/* rgb */ color: rgb(194, 185, 80);
/* oklch */ color: oklch(77.3% 0.127 104.4);
Tailwind
colors: {
  custom: {
    50: '#d7cd85',
    500: '#c2b950',
    950: '#000000',
  },
}
SCSS
$custom: #c2b950;
$custom-light: #d7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b950",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 55.263,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77262,
    "c": 0.12668,
    "h": 104.4
  },
  "luminance": 0.46746
}

Semantic roles & 50–950 ramp

primary
#C2B950
secondary
#9FA2CF
accent
#5BD850
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B950

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

Preview Lab → · Contrast checker → · Palette generator →

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