#C2B534#C2B534

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

Color values

HEX#C2B534
RGBrgb(194, 181, 52)
HSLhsl(55, 58%, 48%)
HSVhsv(55, 73%, 76%)
CMYKcmyk(0%, 6.7%, 73.2%, 23.9%)
CIE-LABlab(72.74, -9.70, 63.32)
CIE-LCHlch(72.74, 64.06, 98.71°)
OKLaboklab(76.17% -0.0334 0.1397)
OKLCHoklch(76.17% 0.144 103.4)
XYZxyz(39.3936, 44.7667, 9.8139)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B534 #3441C2
analogous
#C26E34 #C2B534 #88C234
triadic
#C2B534 #34C2B5 #B534C2
tetradic
#C2B534 #34C26E #3441C2 #C23488
square
#C2B534 #34C26E #3441C2 #C23488
split-complementary
#C2B534 #3488C2 #6E34C2
monochromatic
#615B1A #928827 #C2B534 #D4C95F #E1DA8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B534#FFFFFF#000000##000000
##C2B5341.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)
#C5AF1C
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b534;
/* rgb */ color: rgb(194, 181, 52);
/* oklch */ color: oklch(76.2% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#d8ca75',
    500: '#c2b534',
    950: '#000000',
  },
}
SCSS
$custom: #c2b534;
$custom-light: #d8ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b534",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 54.507,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.1436,
    "h": 103.4
  },
  "luminance": 0.44765
}

Semantic roles & 50–950 ramp

primary
#C2B534
secondary
#868CCC
accent
#55E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B534

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

Preview Lab → · Contrast checker → · Palette generator →

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