#C2B542#C2B542

#C2B542 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.134 H 102.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C2B542
RGBrgb(194, 181, 66)
HSLhsl(54, 51%, 51%)
HSVhsv(54, 66%, 76%)
CMYKcmyk(0%, 6.7%, 66%, 23.9%)
CIE-LABlab(72.83, -8.97, 58.00)
CIE-LCHlch(72.83, 58.69, 98.79°)
OKLaboklab(76.27% -0.0298 0.1309)
OKLCHoklch(76.27% 0.134 102.8)
XYZxyz(39.7570, 44.9120, 11.7279)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B542 #424FC2
analogous
#C27542 #C2B542 #8FC242
triadic
#C2B542 #42C2B5 #B542C2
tetradic
#C2B542 #42C275 #424FC2 #C2428F
square
#C2B542 #42C275 #424FC2 #C2428F
split-complementary
#C2B542 #428FC2 #7542C2
monochromatic
#686122 #968C31 #C2B542 #D1C770 #E0D99F

Accessibility & contrast

On white

2.10
#C2B542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C2B542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B542
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B542#FFFFFF#000000##000000
##C2B5421.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#D0A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b542;
/* rgb */ color: rgb(194, 181, 66);
/* oklch */ color: oklch(76.3% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#d8ca7c',
    500: '#c2b542',
    950: '#000000',
  },
}
SCSS
$custom: #c2b542;
$custom-light: #d8ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b542",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 53.906,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76273,
    "c": 0.13421,
    "h": 102.8
  },
  "luminance": 0.4491
}

Semantic roles & 50–950 ramp

primary
#C2B542
secondary
#9499CC
accent
#5CDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B542

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

Preview Lab → · Contrast checker → · Palette generator →

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