#C2B02B#C2B02B

#C2B02B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.144 H 101.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C2B02B
RGBrgb(194, 176, 43)
HSLhsl(53, 64%, 46%)
HSVhsv(53, 78%, 76%)
CMYKcmyk(0%, 9.3%, 77.8%, 23.9%)
CIE-LABlab(71.35, -7.48, 65.08)
CIE-LCHlch(71.35, 65.51, 96.55°)
OKLaboklab(75.05% -0.0279 0.1417)
OKLCHoklch(75.05% 0.144 101.2)
XYZxyz(38.2114, 42.6962, 8.5135)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B02B #2B3DC2
analogous
#C2652B #C2B02B #89C22B
triadic
#C2B02B #2BC2B0 #B02BC2
tetradic
#C2B02B #2BC265 #2B3DC2 #C22B89
square
#C2B02B #2BC265 #2B3DC2 #C22B89
split-complementary
#C2B02B #2B89C2 #652BC2
monochromatic
#5E5515 #908320 #C2B02B #D9C852 #E4D884

Accessibility & contrast

On white

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

On black

9.54
#C2B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B02B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B02B#FFFFFF#000000##000000
##C2B02B1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b02b;
/* rgb */ color: rgb(194, 176, 43);
/* oklch */ color: oklch(75.0% 0.144 101.2);
Tailwind
colors: {
  custom: {
    50: '#d9c770',
    500: '#c2b02b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b02b;
$custom-light: #d9c770;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b02b",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 52.848,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75047,
    "c": 0.14442,
    "h": 101.2
  },
  "luminance": 0.42694
}

Semantic roles & 50–950 ramp

primary
#C2B02B
secondary
#7C86CD
accent
#55E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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