#C2B535#C2B535

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

Color values

HEX#C2B535
RGBrgb(194, 181, 53)
HSLhsl(54, 57%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 6.7%, 72.7%, 23.9%)
CIE-LABlab(72.74, -9.65, 62.97)
CIE-LCHlch(72.74, 63.71, 98.72°)
OKLaboklab(76.17% -0.0331 0.1391)
OKLCHoklch(76.17% 0.143 103.4)
XYZxyz(39.4163, 44.7758, 9.9338)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B535 #3542C2
analogous
#C26E35 #C2B535 #88C235
triadic
#C2B535 #35C2B5 #B535C2
tetradic
#C2B535 #35C26E #3542C2 #C23588
square
#C2B535 #35C26E #3542C2 #C23588
split-complementary
#C2B535 #3588C2 #6E35C2
monochromatic
#625B1B #928828 #C2B535 #D4C960 #E1D991

Accessibility & contrast

On white

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

On black

9.95
#C2B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B535
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B535#FFFFFF#000000##000000
##C2B5351.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1E
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b535;
/* rgb */ color: rgb(194, 181, 53);
/* oklch */ color: oklch(76.2% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#d8ca75',
    500: '#c2b535',
    950: '#000000',
  },
}
SCSS
$custom: #c2b535;
$custom-light: #d8ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b535",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 54.468,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76173,
    "c": 0.143,
    "h": 103.4
  },
  "luminance": 0.44774
}

Semantic roles & 50–950 ramp

primary
#C2B535
secondary
#878ECC
accent
#56E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B535

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

Preview Lab → · Contrast checker → · Palette generator →

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