#C2B835#C2B835

#C2B835 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.146 H 104.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C2B835
RGBrgb(194, 184, 53)
HSLhsl(56, 57%, 48%)
HSVhsv(56, 73%, 76%)
CMYKcmyk(0%, 5.2%, 72.7%, 23.9%)
CIE-LABlab(73.55, -11.20, 63.75)
CIE-LCHlch(73.55, 64.72, 99.96°)
OKLaboklab(76.82% -0.0375 0.1407)
OKLCHoklch(76.82% 0.146 104.9)
XYZxyz(40.0329, 46.0089, 10.1393)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B835 #353FC2
analogous
#C27135 #C2B835 #85C235
triadic
#C2B835 #35C2B8 #B835C2
tetradic
#C2B835 #35C271 #353FC2 #C23585
square
#C2B835 #35C271 #353FC2 #C23585
split-complementary
#C2B835 #3585C2 #7135C2
monochromatic
#625D1B #928A28 #C2B835 #D4CC60 #E1DB91

Accessibility & contrast

On white

2.06
#C2B835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C2B835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B835
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B835#FFFFFF#000000##000000
##C2B8351.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11D
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#D1AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b835;
/* rgb */ color: rgb(194, 184, 53);
/* oklch */ color: oklch(76.8% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#d8cd75',
    500: '#c2b835',
    950: '#000000',
  },
}
SCSS
$custom: #c2b835;
$custom-light: #d8cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b835",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 55.745,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.14565,
    "h": 104.9
  },
  "luminance": 0.46007
}

Semantic roles & 50–950 ramp

primary
#C2B835
secondary
#878CCC
accent
#52E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B835

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

Preview Lab → · Contrast checker → · Palette generator →

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