#C2B934#C2B934

#C2B934 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#C2B934
RGBrgb(194, 185, 52)
HSLhsl(56, 58%, 48%)
HSVhsv(56, 73%, 76%)
CMYKcmyk(0%, 4.6%, 73.2%, 23.9%)
CIE-LABlab(73.82, -11.76, 64.35)
CIE-LCHlch(73.82, 65.42, 100.35°)
OKLaboklab(77.02% -0.0391 0.1419)
OKLCHoklch(77.02% 0.147 105.4)
XYZxyz(40.2186, 46.4167, 10.0889)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B934 #343DC2
analogous
#C27234 #C2B934 #84C234
triadic
#C2B934 #34C2B9 #B934C2
tetradic
#C2B934 #34C272 #343DC2 #C23484
square
#C2B934 #34C272 #343DC2 #C23484
split-complementary
#C2B934 #3484C2 #7234C2
monochromatic
#615D1A #928B27 #C2B934 #D4CD5F #E1DC8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B934#FFFFFF#000000##000000
##C2B9341.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)
#C9B21B
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#D0AC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b934;
/* rgb */ color: rgb(194, 185, 52);
/* oklch */ color: oklch(77.0% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#d8cd75',
    500: '#c2b934',
    950: '#000000',
  },
}
SCSS
$custom: #c2b934;
$custom-light: #d8cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b934",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 56.197,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77024,
    "c": 0.14715,
    "h": 105.4
  },
  "luminance": 0.46415
}

Semantic roles & 50–950 ramp

primary
#C2B934
secondary
#868BCC
accent
#51E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B934

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

Preview Lab → · Contrast checker → · Palette generator →

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