#C2B051#C2B051

#C2B051 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.117 H 98.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C2B051
RGBrgb(194, 176, 81)
HSLhsl(50, 48%, 54%)
HSVhsv(50, 58%, 76%)
CMYKcmyk(0%, 9.3%, 58.2%, 23.9%)
CIE-LABlab(71.63, -5.36, 50.06)
CIE-LCHlch(71.63, 50.34, 96.11°)
OKLaboklab(75.36% -0.0178 0.1161)
OKLCHoklch(75.36% 0.117 98.7)
XYZxyz(39.2602, 43.1157, 14.0371)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B051 #5163C2
analogous
#C27851 #C2B051 #9CC251
triadic
#C2B051 #51C2B0 #B051C2
tetradic
#C2B051 #51C278 #5163C2 #C2519C
square
#C2B051 #51C278 #5163C2 #C2519C
split-complementary
#C2B051 #519CC2 #7851C2
monochromatic
#716528 #9E8E37 #C2B051 #D2C57E #E2D9AC

Accessibility & contrast

On white

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

On black

9.62
#C2B051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B051
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B051#FFFFFF#000000##000000
##C2B0511.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC47
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b051;
/* rgb */ color: rgb(194, 176, 81);
/* oklch */ color: oklch(75.4% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#d7c785',
    500: '#c2b051',
    950: '#000000',
  },
}
SCSS
$custom: #c2b051;
$custom-light: #d7c785;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b051",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 81
  },
  "hsl": {
    "h": 50.442,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75364,
    "c": 0.11744,
    "h": 98.7
  },
  "luminance": 0.43114
}

Semantic roles & 50–950 ramp

primary
#C2B051
secondary
#9FA7D0
accent
#66D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B051

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

Preview Lab → · Contrast checker → · Palette generator →

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