#C2B539#C2B539

#C2B539 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.140 H 103.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C2B539
RGBrgb(194, 181, 57)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 6.7%, 70.6%, 23.9%)
CIE-LABlab(72.77, -9.46, 61.51)
CIE-LCHlch(72.77, 62.24, 98.74°)
OKLaboklab(76.2% -0.0322 0.1368)
OKLCHoklch(76.2% 0.14 103.2)
XYZxyz(39.5122, 44.8141, 10.4388)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B539 #3946C2
analogous
#C27139 #C2B539 #8AC239
triadic
#C2B539 #39C2B5 #B539C2
tetradic
#C2B539 #39C271 #3946C2 #C2398A
square
#C2B539 #39C271 #3946C2 #C2398A
split-complementary
#C2B539 #398AC2 #7139C2
monochromatic
#635D1D #93892B #C2B539 #D2C866 #E0D995

Accessibility & contrast

On white

2.11
#C2B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C2B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B539
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B539#FFFFFF#000000##000000
##C2B5391.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF25
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b539;
/* rgb */ color: rgb(194, 181, 57);
/* oklch */ color: oklch(76.2% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#d8ca77',
    500: '#c2b539',
    950: '#000000',
  },
}
SCSS
$custom: #c2b539;
$custom-light: #d8ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b539",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 54.307,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.14049,
    "h": 103.2
  },
  "luminance": 0.44812
}

Semantic roles & 50–950 ramp

primary
#C2B539
secondary
#8B92CB
accent
#58DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B539

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

Preview Lab → · Contrast checker → · Palette generator →

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