#C2B941#C2B941

#C2B941 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.1% C 0.139 H 105.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#C2B941
RGBrgb(194, 185, 65)
HSLhsl(56, 51%, 51%)
HSVhsv(56, 66%, 76%)
CMYKcmyk(0%, 4.6%, 66.5%, 23.9%)
CIE-LABlab(73.90, -11.09, 59.52)
CIE-LCHlch(73.90, 60.54, 100.56°)
OKLaboklab(77.12% -0.0359 0.1339)
OKLCHoklch(77.12% 0.139 105)
XYZxyz(40.5528, 46.5504, 11.8490)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B941 #414AC2
analogous
#C27841 #C2B941 #8AC241
triadic
#C2B941 #41C2B9 #B941C2
tetradic
#C2B941 #41C278 #414AC2 #C2418A
square
#C2B941 #41C278 #414AC2 #C2418A
split-complementary
#C2B941 #418AC2 #7841C2
monochromatic
#676321 #968F30 #C2B941 #D1CA6F #E0DB9E

Accessibility & contrast

On white

2.04
#C2B941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#C2B941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B941
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B941#FFFFFF#000000##000000
##C2B9411.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#D0ADA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b941;
/* rgb */ color: rgb(194, 185, 65);
/* oklch */ color: oklch(77.1% 0.139 105.0);
Tailwind
colors: {
  custom: {
    50: '#d8cd7c',
    500: '#c2b941',
    950: '#000000',
  },
}
SCSS
$custom: #c2b941;
$custom-light: #d8cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b941",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 55.814,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7712,
    "c": 0.13864,
    "h": 105
  },
  "luminance": 0.46549
}

Semantic roles & 50–950 ramp

primary
#C2B941
secondary
#9397CC
accent
#57DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B941

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

Preview Lab → · Contrast checker → · Palette generator →

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