#C2B442#C2B442

#C2B442 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.133 H 102.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C2B442
RGBrgb(194, 180, 66)
HSLhsl(53, 51%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 7.2%, 66%, 23.9%)
CIE-LABlab(72.57, -8.45, 57.72)
CIE-LCHlch(72.57, 58.34, 98.33°)
OKLaboklab(76.06% -0.0283 0.1303)
OKLCHoklch(76.06% 0.133 102.3)
XYZxyz(39.5544, 44.5068, 11.6604)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B442 #4250C2
analogous
#C27442 #C2B442 #90C242
triadic
#C2B442 #42C2B4 #B442C2
tetradic
#C2B442 #42C274 #4250C2 #C24290
square
#C2B442 #42C274 #4250C2 #C24290
split-complementary
#C2B442 #4290C2 #7442C2
monochromatic
#686022 #968B31 #C2B442 #D1C670 #E0D99F

Accessibility & contrast

On white

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

On black

9.90
#C2B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B442
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B442#FFFFFF#000000##000000
##C2B4421.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#D0A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b442;
/* rgb */ color: rgb(194, 180, 66);
/* oklch */ color: oklch(76.1% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#d8ca7c',
    500: '#c2b442',
    950: '#000000',
  },
}
SCSS
$custom: #c2b442;
$custom-light: #d8ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b442",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 53.438,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76061,
    "c": 0.13332,
    "h": 102.3
  },
  "luminance": 0.44505
}

Semantic roles & 50–950 ramp

primary
#C2B442
secondary
#949ACC
accent
#5DDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B442

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

Preview Lab → · Contrast checker → · Palette generator →

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