#C2B242#C2B242

#C2B242 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.132 H 101.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C2B242
RGBrgb(194, 178, 66)
HSLhsl(53, 51%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 8.2%, 66%, 23.9%)
CIE-LABlab(72.03, -7.41, 57.17)
CIE-LCHlch(72.03, 57.64, 97.39°)
OKLaboklab(75.64% -0.0254 0.1291)
OKLCHoklch(75.64% 0.132 101.1)
XYZxyz(39.1535, 43.7051, 11.5267)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B242 #4252C2
analogous
#C27242 #C2B242 #92C242
triadic
#C2B242 #42C2B2 #B242C2
tetradic
#C2B242 #42C272 #4252C2 #C24292
square
#C2B242 #42C272 #4252C2 #C24292
split-complementary
#C2B242 #4292C2 #7242C2
monochromatic
#685F22 #968A31 #C2B242 #D1C570 #E0D89F

Accessibility & contrast

On white

2.16
#C2B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C2B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B242
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B242#FFFFFF#000000##000000
##C2B2421.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b242;
/* rgb */ color: rgb(194, 178, 66);
/* oklch */ color: oklch(75.6% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#d8c87c',
    500: '#c2b242',
    950: '#000000',
  },
}
SCSS
$custom: #c2b242;
$custom-light: #d8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b242",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 52.5,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75636,
    "c": 0.13156,
    "h": 101.1
  },
  "luminance": 0.43703
}

Semantic roles & 50–950 ramp

primary
#C2B242
secondary
#949BCC
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B242

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

Preview Lab → · Contrast checker → · Palette generator →

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