#C2B241#C2B241

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

Color values

HEX#C2B241
RGBrgb(194, 178, 65)
HSLhsl(53, 51%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 8.2%, 66.5%, 23.9%)
CIE-LABlab(72.02, -7.47, 57.58)
CIE-LCHlch(72.02, 58.06, 97.39°)
OKLaboklab(75.63% -0.0257 0.1298)
OKLCHoklch(75.63% 0.132 101.2)
XYZxyz(39.1243, 43.6934, 11.3728)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B241 #4151C2
analogous
#C27141 #C2B241 #91C241
triadic
#C2B241 #41C2B2 #B241C2
tetradic
#C2B241 #41C271 #4151C2 #C24191
square
#C2B241 #41C271 #4151C2 #C24191
split-complementary
#C2B241 #4191C2 #7141C2
monochromatic
#675F21 #968930 #C2B241 #D1C56F #E0D89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B241#FFFFFF#000000##000000
##C2B2411.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)
#C2AD32
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b241;
/* rgb */ color: rgb(194, 178, 65);
/* oklch */ color: oklch(75.6% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#d8c87b',
    500: '#c2b241',
    950: '#000000',
  },
}
SCSS
$custom: #c2b241;
$custom-light: #d8c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b241",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 52.558,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.13231,
    "h": 101.2
  },
  "luminance": 0.43692
}

Semantic roles & 50–950 ramp

primary
#C2B241
secondary
#939ACC
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B241

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

Preview Lab → · Contrast checker → · Palette generator →

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