#C2B43A#C2B43A

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

Color values

HEX#C2B43A
RGBrgb(194, 180, 58)
HSLhsl(54, 54%, 49%)
HSVhsv(54, 70%, 76%)
CMYKcmyk(0%, 7.2%, 70.1%, 23.9%)
CIE-LABlab(72.51, -8.89, 60.87)
CIE-LCHlch(72.51, 61.52, 98.31°)
OKLaboklab(76% -0.0305 0.1356)
OKLCHoklch(76% 0.139 102.7)
XYZxyz(39.3348, 44.4190, 10.5039)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B43A #3A48C2
analogous
#C2703A #C2B43A #8CC23A
triadic
#C2B43A #3AC2B4 #B43AC2
tetradic
#C2B43A #3AC270 #3A48C2 #C23A8C
square
#C2B43A #3AC270 #3A48C2 #C23A8C
split-complementary
#C2B43A #3A8CC2 #703AC2
monochromatic
#645D1E #93882C #C2B43A #D2C767 #E0D897

Accessibility & contrast

On white

2.12
#C2B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#C2B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B43A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B43A#FFFFFF#000000##000000
##C2B43A1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#D1A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b43a;
/* rgb */ color: rgb(194, 180, 58);
/* oklch */ color: oklch(76.0% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d8ca78',
    500: '#c2b43a',
    950: '#000000',
  },
}
SCSS
$custom: #c2b43a;
$custom-light: #d8ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b43a",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 53.824,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75996,
    "c": 0.13895,
    "h": 102.7
  },
  "luminance": 0.44417
}

Semantic roles & 50–950 ramp

primary
#C2B43A
secondary
#8D93CB
accent
#5ADD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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