#C2B134#C2B134

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

Color values

HEX#C2B134
RGBrgb(194, 177, 52)
HSLhsl(53, 58%, 48%)
HSVhsv(53, 73%, 76%)
CMYKcmyk(0%, 8.8%, 73.2%, 23.9%)
CIE-LABlab(71.67, -7.62, 62.30)
CIE-LCHlch(71.67, 62.76, 96.98°)
OKLaboklab(75.31% -0.0275 0.1375)
OKLCHoklch(75.31% 0.14 101.3)
XYZxyz(38.5919, 43.1633, 9.5467)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B134 #3445C2
analogous
#C26A34 #C2B134 #8CC234
triadic
#C2B134 #34C2B1 #B134C2
tetradic
#C2B134 #34C26A #3445C2 #C2348C
square
#C2B134 #34C26A #3445C2 #C2348C
split-complementary
#C2B134 #348CC2 #6A34C2
monochromatic
#61591A #928527 #C2B134 #D4C65F #E1D78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B134#FFFFFF#000000##000000
##C2B1341.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)
#C2AC1E
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#D1A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b134;
/* rgb */ color: rgb(194, 177, 52);
/* oklch */ color: oklch(75.3% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#d8c774',
    500: '#c2b134',
    950: '#000000',
  },
}
SCSS
$custom: #c2b134;
$custom-light: #d8c774;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b134",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 52.817,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75314,
    "c": 0.14022,
    "h": 101.3
  },
  "luminance": 0.43162
}

Semantic roles & 50–950 ramp

primary
#C2B134
secondary
#868ECC
accent
#59E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B134

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

Preview Lab → · Contrast checker → · Palette generator →

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