#C2B235#C2B235

#C2B235 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.140 H 101.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C2B235
RGBrgb(194, 178, 53)
HSLhsl(53, 57%, 48%)
HSVhsv(53, 73%, 76%)
CMYKcmyk(0%, 8.2%, 72.7%, 23.9%)
CIE-LABlab(71.94, -8.10, 62.20)
CIE-LCHlch(71.94, 62.72, 97.42°)
OKLaboklab(75.53% -0.0287 0.1375)
OKLCHoklch(75.53% 0.14 101.8)
XYZxyz(38.8129, 43.5689, 9.7327)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B235 #3545C2
analogous
#C26B35 #C2B235 #8CC235
triadic
#C2B235 #35C2B2 #B235C2
tetradic
#C2B235 #35C26B #3545C2 #C2358C
square
#C2B235 #35C26B #3545C2 #C2358C
split-complementary
#C2B235 #358CC2 #6B35C2
monochromatic
#625A1B #928628 #C2B235 #D4C760 #E1D891

Accessibility & contrast

On white

2.16
#C2B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C2B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B235
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B235#FFFFFF#000000##000000
##C2B2351.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#D1A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b235;
/* rgb */ color: rgb(194, 178, 53);
/* oklch */ color: oklch(75.5% 0.140 101.8);
Tailwind
colors: {
  custom: {
    50: '#d8c875',
    500: '#c2b235',
    950: '#000000',
  },
}
SCSS
$custom: #c2b235;
$custom-light: #d8c875;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b235",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 53.191,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75534,
    "c": 0.14044,
    "h": 101.8
  },
  "luminance": 0.43567
}

Semantic roles & 50–950 ramp

primary
#C2B235
secondary
#878FCC
accent
#59E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B235

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

Preview Lab → · Contrast checker → · Palette generator →

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