#C2B22B#C2B22B

#C2B22B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.146 H 102.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C2B22B
RGBrgb(194, 178, 43)
HSLhsl(54, 64%, 46%)
HSVhsv(54, 78%, 76%)
CMYKcmyk(0%, 8.2%, 77.8%, 23.9%)
CIE-LABlab(71.88, -8.52, 65.56)
CIE-LCHlch(71.88, 66.11, 97.40°)
OKLaboklab(75.47% -0.0309 0.1427)
OKLCHoklch(75.47% 0.146 102.2)
XYZxyz(38.6064, 43.4863, 8.6452)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B22B #2B3BC2
analogous
#C2662B #C2B22B #87C22B
triadic
#C2B22B #2BC2B2 #B22BC2
tetradic
#C2B22B #2BC266 #2B3BC2 #C22B87
square
#C2B22B #2BC266 #2B3BC2 #C22B87
split-complementary
#C2B22B #2B87C2 #662BC2
monochromatic
#5E5615 #908420 #C2B22B #D9CA52 #E4DA84

Accessibility & contrast

On white

2.17
#C2B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C2B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B22B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B22B#FFFFFF#000000##000000
##C2B22B1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC06
Deuteranopia (green-blind)
#C8B335
Tritanopia (blue-blind)
#D1A599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b22b;
/* rgb */ color: rgb(194, 178, 43);
/* oklch */ color: oklch(75.5% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#d9c870',
    500: '#c2b22b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b22b;
$custom-light: #d9c870;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b22b",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 53.642,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75472,
    "c": 0.14603,
    "h": 102.2
  },
  "luminance": 0.43485
}

Semantic roles & 50–950 ramp

primary
#C2B22B
secondary
#7C85CD
accent
#53E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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