#C2B335#C2B335

#C2B335 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.141 H 102.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C2B335
RGBrgb(194, 179, 53)
HSLhsl(54, 57%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 7.7%, 72.7%, 23.9%)
CIE-LABlab(72.21, -8.62, 62.45)
CIE-LCHlch(72.21, 63.05, 97.86°)
OKLaboklab(75.75% -0.0302 0.138)
OKLCHoklch(75.75% 0.141 102.3)
XYZxyz(39.0126, 43.9683, 9.7992)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B335 #3544C2
analogous
#C26C35 #C2B335 #8AC235
triadic
#C2B335 #35C2B3 #B335C2
tetradic
#C2B335 #35C26C #3544C2 #C2358A
square
#C2B335 #35C26C #3544C2 #C2358A
split-complementary
#C2B335 #358AC2 #6C35C2
monochromatic
#625A1B #928728 #C2B335 #D4C760 #E1D891

Accessibility & contrast

On white

2.14
#C2B335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C2B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B335
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B335#FFFFFF#000000##000000
##C2B3351.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD1F
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b335;
/* rgb */ color: rgb(194, 179, 53);
/* oklch */ color: oklch(75.7% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#d8c975',
    500: '#c2b335',
    950: '#000000',
  },
}
SCSS
$custom: #c2b335;
$custom-light: #d8c975;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b335",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 53.617,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.14129,
    "h": 102.3
  },
  "luminance": 0.43967
}

Semantic roles & 50–950 ramp

primary
#C2B335
secondary
#878ECC
accent
#58E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B335

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

Preview Lab → · Contrast checker → · Palette generator →

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