#C2B132#C2B132

#C2B132 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.141 H 101.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C2B132
RGBrgb(194, 177, 50)
HSLhsl(53, 59%, 48%)
HSVhsv(53, 74%, 76%)
CMYKcmyk(0%, 8.8%, 74.2%, 23.9%)
CIE-LABlab(71.65, -7.71, 63.00)
CIE-LCHlch(71.65, 63.47, 96.98°)
OKLaboklab(75.3% -0.0279 0.1386)
OKLCHoklch(75.3% 0.141 101.4)
XYZxyz(38.5478, 43.1457, 9.3145)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B132 #3243C2
analogous
#C26932 #C2B132 #8BC232
triadic
#C2B132 #32C2B1 #B132C2
tetradic
#C2B132 #32C269 #3243C2 #C2328B
square
#C2B132 #32C269 #3243C2 #C2328B
split-complementary
#C2B132 #328BC2 #6932C2
monochromatic
#615819 #918525 #C2B132 #D5C75C #E2D88D

Accessibility & contrast

On white

2.18
#C2B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C2B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B132
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B132#FFFFFF#000000##000000
##C2B1321.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1A
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#D1A498
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b132;
/* rgb */ color: rgb(194, 177, 50);
/* oklch */ color: oklch(75.3% 0.141 101.4);
Tailwind
colors: {
  custom: {
    50: '#d8c773',
    500: '#c2b132',
    950: '#000000',
  },
}
SCSS
$custom: #c2b132;
$custom-light: #d8c773;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b132",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 52.917,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75301,
    "c": 0.14141,
    "h": 101.4
  },
  "luminance": 0.43144
}

Semantic roles & 50–950 ramp

primary
#C2B132
secondary
#848CCC
accent
#58E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B132

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

Preview Lab → · Contrast checker → · Palette generator →

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