#C2B43B#C2B43B

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

Color values

HEX#C2B43B
RGBrgb(194, 180, 59)
HSLhsl(54, 53%, 50%)
HSVhsv(54, 70%, 76%)
CMYKcmyk(0%, 7.2%, 69.6%, 23.9%)
CIE-LABlab(72.51, -8.84, 60.49)
CIE-LCHlch(72.51, 61.14, 98.32°)
OKLaboklab(76% -0.0302 0.1349)
OKLCHoklch(76% 0.138 102.6)
XYZxyz(39.3605, 44.4293, 10.6392)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B43B #3B49C2
analogous
#C2713B #C2B43B #8DC23B
triadic
#C2B43B #3BC2B4 #B43BC2
tetradic
#C2B43B #3BC271 #3B49C2 #C23B8D
square
#C2B43B #3BC271 #3B49C2 #C23B8D
split-complementary
#C2B43B #3B8DC2 #713BC2
monochromatic
#645D1E #93882D #C2B43B #D1C769 #E0D898

Accessibility & contrast

On white

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

On black

9.89
#C2B43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B43B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B43B#FFFFFF#000000##000000
##C2B43B1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b43b;
/* rgb */ color: rgb(194, 180, 59);
/* oklch */ color: oklch(76.0% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d8ca78',
    500: '#c2b43b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b43b;
$custom-light: #d8ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b43b",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 53.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76003,
    "c": 0.13829,
    "h": 102.6
  },
  "luminance": 0.44428
}

Semantic roles & 50–950 ramp

primary
#C2B43B
secondary
#8E94CB
accent
#5ADD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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