#C2B631#C2B631

#C2B631 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.146 H 104.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C2B631
RGBrgb(194, 182, 49)
HSLhsl(55, 60%, 48%)
HSVhsv(55, 75%, 76%)
CMYKcmyk(0%, 6.2%, 74.7%, 23.9%)
CIE-LABlab(72.99, -10.35, 64.61)
CIE-LCHlch(72.99, 65.43, 99.10°)
OKLaboklab(76.36% -0.0355 0.1418)
OKLCHoklch(76.36% 0.146 104)
XYZxyz(39.5322, 45.1486, 9.5373)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B631 #313DC2
analogous
#C26D31 #C2B631 #86C231
triadic
#C2B631 #31C2B6 #B631C2
tetradic
#C2B631 #31C26D #313DC2 #C23186
square
#C2B631 #31C26D #313DC2 #C23186
split-complementary
#C2B631 #3186C2 #6D31C2
monochromatic
#605A18 #918825 #C2B631 #D6CB5B #E2DB8C

Accessibility & contrast

On white

2.09
#C2B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C2B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B631
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B631#FFFFFF#000000##000000
##C2B6311.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B015
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#D1A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b631;
/* rgb */ color: rgb(194, 182, 49);
/* oklch */ color: oklch(76.4% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#d8cb73',
    500: '#c2b631',
    950: '#000000',
  },
}
SCSS
$custom: #c2b631;
$custom-light: #d8cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b631",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 55.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76361,
    "c": 0.14621,
    "h": 104
  },
  "luminance": 0.45147
}

Semantic roles & 50–950 ramp

primary
#C2B631
secondary
#8389CC
accent
#52E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B631

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

Preview Lab → · Contrast checker → · Palette generator →

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