#C2B030#C2B030

#C2B030 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.142 H 100.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C2B030
RGBrgb(194, 176, 48)
HSLhsl(53, 60%, 47%)
HSVhsv(53, 75%, 76%)
CMYKcmyk(0%, 9.3%, 75.3%, 23.9%)
CIE-LABlab(71.37, -7.28, 63.44)
CIE-LCHlch(71.37, 63.86, 96.54°)
OKLaboklab(75.08% -0.0269 0.1392)
OKLCHoklch(75.08% 0.142 100.9)
XYZxyz(38.3088, 42.7352, 9.0266)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B030 #3042C2
analogous
#C26730 #C2B030 #8BC230
triadic
#C2B030 #30C2B0 #B030C2
tetradic
#C2B030 #30C267 #3042C2 #C2308B
square
#C2B030 #30C267 #3042C2 #C2308B
split-complementary
#C2B030 #308BC2 #6730C2
monochromatic
#605718 #918324 #C2B030 #D6C759 #E2D78A

Accessibility & contrast

On white

2.20
#C2B030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#C2B030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B030
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B030#FFFFFF#000000##000000
##C2B0301.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#D1A397
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b030;
/* rgb */ color: rgb(194, 176, 48);
/* oklch */ color: oklch(75.1% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#d8c772',
    500: '#c2b030',
    950: '#000000',
  },
}
SCSS
$custom: #c2b030;
$custom-light: #d8c772;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b030",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 52.603,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75076,
    "c": 0.14174,
    "h": 100.9
  },
  "luminance": 0.42733
}

Semantic roles & 50–950 ramp

primary
#C2B030
secondary
#828BCC
accent
#58E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B030

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

Preview Lab → · Contrast checker → · Palette generator →

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