#C2B250#C2B250

#C2B250 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.120 H 100.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C2B250
RGBrgb(194, 178, 80)
HSLhsl(52, 48%, 54%)
HSVhsv(52, 59%, 76%)
CMYKcmyk(0%, 8.2%, 58.8%, 23.9%)
CIE-LABlab(72.16, -6.48, 51.11)
CIE-LCHlch(72.16, 51.52, 97.23°)
OKLaboklab(75.78% -0.0211 0.1182)
OKLCHoklch(75.78% 0.12 100.1)
XYZxyz(39.6180, 43.8909, 13.9728)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B250 #5060C2
analogous
#C27950 #C2B250 #99C250
triadic
#C2B250 #50C2B2 #B250C2
tetradic
#C2B250 #50C279 #5060C2 #C25099
square
#C2B250 #50C279 #5060C2 #C25099
split-complementary
#C2B250 #5099C2 #7950C2
monochromatic
#706627 #9E8F37 #C2B250 #D2C67D #E2DAAB

Accessibility & contrast

On white

2.15
#C2B250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C2B250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B250
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B250#FFFFFF#000000##000000
##C2B2501.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD46
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#D0A79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b250;
/* rgb */ color: rgb(194, 178, 80);
/* oklch */ color: oklch(75.8% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#d7c884',
    500: '#c2b250',
    950: '#000000',
  },
}
SCSS
$custom: #c2b250;
$custom-light: #d7c884;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b250",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 80
  },
  "hsl": {
    "h": 51.579,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.12009,
    "h": 100.1
  },
  "luminance": 0.43889
}

Semantic roles & 50–950 ramp

primary
#C2B250
secondary
#9FA5CF
accent
#63D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B250

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

Preview Lab → · Contrast checker → · Palette generator →

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