#C2B131#C2B131

#C2B131 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.142 H 101.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C2B131
RGBrgb(194, 177, 49)
HSLhsl(53, 60%, 48%)
HSVhsv(53, 75%, 76%)
CMYKcmyk(0%, 8.8%, 74.7%, 23.9%)
CIE-LABlab(71.65, -7.76, 63.35)
CIE-LCHlch(71.65, 63.82, 96.98°)
OKLaboklab(75.3% -0.0282 0.1392)
OKLCHoklch(75.3% 0.142 101.4)
XYZxyz(38.5265, 43.1371, 9.2021)
Luminance0.4314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B131 #3142C2
analogous
#C26931 #C2B131 #8AC231
triadic
#C2B131 #31C2B1 #B131C2
tetradic
#C2B131 #31C269 #3142C2 #C2318A
square
#C2B131 #31C269 #3142C2 #C2318A
split-complementary
#C2B131 #318AC2 #6931C2
monochromatic
#605818 #918425 #C2B131 #D6C75B #E2D88C

Accessibility & contrast

On white

2.18
#C2B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C2B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B131
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B131#FFFFFF#000000##000000
##C2B1311.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC18
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#D1A498
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b131;
/* rgb */ color: rgb(194, 177, 49);
/* oklch */ color: oklch(75.3% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#d8c773',
    500: '#c2b131',
    950: '#000000',
  },
}
SCSS
$custom: #c2b131;
$custom-light: #d8c773;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b131",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 52.966,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.14198,
    "h": 101.4
  },
  "luminance": 0.43135
}

Semantic roles & 50–950 ramp

primary
#C2B131
secondary
#838BCC
accent
#57E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B131

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

Preview Lab → · Contrast checker → · Palette generator →

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