#C2B337#C2B337

#C2B337 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.140 H 102.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C2B337
RGBrgb(194, 179, 55)
HSLhsl(54, 56%, 49%)
HSVhsv(54, 72%, 76%)
CMYKcmyk(0%, 7.7%, 71.6%, 23.9%)
CIE-LABlab(72.22, -8.52, 61.73)
CIE-LCHlch(72.22, 62.31, 97.86°)
OKLaboklab(75.76% -0.0297 0.1368)
OKLCHoklch(75.76% 0.14 102.3)
XYZxyz(39.0595, 43.9871, 10.0466)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B337 #3746C2
analogous
#C26E37 #C2B337 #8CC237
triadic
#C2B337 #37C2B3 #B337C2
tetradic
#C2B337 #37C26E #3746C2 #C2378C
square
#C2B337 #37C26E #3746C2 #C2378C
split-complementary
#C2B337 #378CC2 #6E37C2
monochromatic
#635B1C #928729 #C2B337 #D3C763 #E0D893

Accessibility & contrast

On white

2.14
#C2B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C2B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B337
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B337#FFFFFF#000000##000000
##C2B3371.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#D1A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b337;
/* rgb */ color: rgb(194, 179, 55);
/* oklch */ color: oklch(75.8% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d8c976',
    500: '#c2b337',
    950: '#000000',
  },
}
SCSS
$custom: #c2b337;
$custom-light: #d8c976;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b337",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 53.525,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75761,
    "c": 0.14003,
    "h": 102.3
  },
  "luminance": 0.43985
}

Semantic roles & 50–950 ramp

primary
#C2B337
secondary
#8990CB
accent
#59DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B337

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

Preview Lab → · Contrast checker → · Palette generator →

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