#C2B935#C2B935

#C2B935 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.147 H 105.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#C2B935
RGBrgb(194, 185, 53)
HSLhsl(56, 57%, 48%)
HSVhsv(56, 73%, 76%)
CMYKcmyk(0%, 4.6%, 72.7%, 23.9%)
CIE-LABlab(73.82, -11.71, 64.00)
CIE-LCHlch(73.82, 65.07, 100.37°)
OKLaboklab(77.03% -0.0389 0.1413)
OKLCHoklch(77.03% 0.147 105.4)
XYZxyz(40.2414, 46.4258, 10.2088)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B935 #353EC2
analogous
#C27235 #C2B935 #84C235
triadic
#C2B935 #35C2B9 #B935C2
tetradic
#C2B935 #35C272 #353EC2 #C23584
square
#C2B935 #35C272 #353EC2 #C23584
split-complementary
#C2B935 #3584C2 #7235C2
monochromatic
#625D1B #928B28 #C2B935 #D4CC60 #E1DC91

Accessibility & contrast

On white

2.04
#C2B935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#C2B935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B935
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B935#FFFFFF#000000##000000
##C2B9351.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21D
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#D0AC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b935;
/* rgb */ color: rgb(194, 185, 53);
/* oklch */ color: oklch(77.0% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#d8cd76',
    500: '#c2b935',
    950: '#000000',
  },
}
SCSS
$custom: #c2b935;
$custom-light: #d8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b935",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 56.17,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7703,
    "c": 0.14656,
    "h": 105.4
  },
  "luminance": 0.46424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B935

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

Preview Lab → · Contrast checker → · Palette generator →

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