#C2B434#C2B434

#C2B434 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.0% C 0.143 H 102.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C2B434
RGBrgb(194, 180, 52)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 73%, 76%)
CMYKcmyk(0%, 7.2%, 73.2%, 23.9%)
CIE-LABlab(72.47, -9.18, 63.07)
CIE-LCHlch(72.47, 63.73, 98.28°)
OKLaboklab(75.95% -0.0319 0.1391)
OKLCHoklch(75.95% 0.143 102.9)
XYZxyz(39.1910, 44.3614, 9.7464)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B434 #3442C2
analogous
#C26D34 #C2B434 #89C234
triadic
#C2B434 #34C2B4 #B434C2
tetradic
#C2B434 #34C26D #3442C2 #C23489
square
#C2B434 #34C26D #3442C2 #C23489
split-complementary
#C2B434 #3489C2 #6D34C2
monochromatic
#615A1A #928727 #C2B434 #D4C95F #E1D98F

Accessibility & contrast

On white

2.13
#C2B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C2B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B434
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B434#FFFFFF#000000##000000
##C2B4341.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1D
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b434;
/* rgb */ color: rgb(194, 180, 52);
/* oklch */ color: oklch(76.0% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#d8ca75',
    500: '#c2b434',
    950: '#000000',
  },
}
SCSS
$custom: #c2b434;
$custom-light: #d8ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b434",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 54.085,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.14274,
    "h": 102.9
  },
  "luminance": 0.4436
}

Semantic roles & 50–950 ramp

primary
#C2B434
secondary
#868DCC
accent
#56E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B434

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

Preview Lab → · Contrast checker → · Palette generator →

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