#C2B135#C2B135

#C2B135 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#C2B135
RGBrgb(194, 177, 53)
HSLhsl(53, 57%, 48%)
HSVhsv(53, 73%, 76%)
CMYKcmyk(0%, 8.8%, 72.7%, 23.9%)
CIE-LABlab(71.67, -7.58, 61.94)
CIE-LCHlch(71.67, 62.40, 96.98°)
OKLaboklab(75.32% -0.0273 0.1369)
OKLCHoklch(75.32% 0.14 101.3)
XYZxyz(38.6146, 43.1724, 9.6666)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B135 #3546C2
analogous
#C26A35 #C2B135 #8CC235
triadic
#C2B135 #35C2B1 #B135C2
tetradic
#C2B135 #35C26A #3546C2 #C2358C
square
#C2B135 #35C26A #3546C2 #C2358C
split-complementary
#C2B135 #358CC2 #6A35C2
monochromatic
#62591B #928528 #C2B135 #D4C660 #E1D791

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B135#FFFFFF#000000##000000
##C2B1351.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)
#C2AC20
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#D1A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b135;
/* rgb */ color: rgb(194, 177, 53);
/* oklch */ color: oklch(75.3% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#d8c775',
    500: '#c2b135',
    950: '#000000',
  },
}
SCSS
$custom: #c2b135;
$custom-light: #d8c775;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b135",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 52.766,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75321,
    "c": 0.13961,
    "h": 101.3
  },
  "luminance": 0.43171
}

Semantic roles & 50–950 ramp

primary
#C2B135
secondary
#878FCC
accent
#5AE047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B135

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

Preview Lab → · Contrast checker → · Palette generator →

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