#C2B042#C2B042

#C2B042 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.130 H 99.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C2B042
RGBrgb(194, 176, 66)
HSLhsl(52, 51%, 51%)
HSVhsv(52, 66%, 76%)
CMYKcmyk(0%, 9.3%, 66%, 23.9%)
CIE-LABlab(71.50, -6.37, 56.61)
CIE-LCHlch(71.50, 56.96, 96.42°)
OKLaboklab(75.21% -0.0224 0.1279)
OKLCHoklch(75.21% 0.13 99.9)
XYZxyz(38.7585, 42.9151, 11.3951)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B042 #4254C2
analogous
#C27042 #C2B042 #94C242
triadic
#C2B042 #42C2B0 #B042C2
tetradic
#C2B042 #42C270 #4254C2 #C24294
square
#C2B042 #42C270 #4254C2 #C24294
split-complementary
#C2B042 #4294C2 #7042C2
monochromatic
#685E22 #968831 #C2B042 #D1C370 #E0D79F

Accessibility & contrast

On white

2.19
#C2B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#C2B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B042
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B042#FFFFFF#000000##000000
##C2B0421.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#D1A499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b042;
/* rgb */ color: rgb(194, 176, 66);
/* oklch */ color: oklch(75.2% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#d8c77c',
    500: '#c2b042',
    950: '#000000',
  },
}
SCSS
$custom: #c2b042;
$custom-light: #d8c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b042",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 51.563,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75212,
    "c": 0.12986,
    "h": 99.9
  },
  "luminance": 0.42913
}

Semantic roles & 50–950 ramp

primary
#C2B042
secondary
#949CCC
accent
#61DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B042

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

Preview Lab → · Contrast checker → · Palette generator →

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