#C2B351#C2B351

#C2B351 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.0% C 0.120 H 100.7°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#C2B351
RGBrgb(194, 179, 81)
HSLhsl(52, 48%, 54%)
HSVhsv(52, 58%, 76%)
CMYKcmyk(0%, 7.7%, 58.2%, 23.9%)
CIE-LABlab(72.43, -6.93, 50.96)
CIE-LCHlch(72.43, 51.43, 97.75°)
OKLaboklab(76% -0.0223 0.118)
OKLCHoklch(76% 0.12 100.7)
XYZxyz(39.8549, 44.3052, 14.2354)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B351 #5160C2
analogous
#C27B51 #C2B351 #99C251
triadic
#C2B351 #51C2B3 #B351C2
tetradic
#C2B351 #51C27B #5160C2 #C25199
square
#C2B351 #51C27B #5160C2 #C25199
split-complementary
#C2B351 #5199C2 #7B51C2
monochromatic
#716728 #9E9137 #C2B351 #D2C77E #E2DBAC

Accessibility & contrast

On white

2.13
#C2B351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#C2B351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B351
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B351#FFFFFF#000000##000000
##C2B3511.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D0A89D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b351;
/* rgb */ color: rgb(194, 179, 81);
/* oklch */ color: oklch(76.0% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#d7c985',
    500: '#c2b351',
    950: '#000000',
  },
}
SCSS
$custom: #c2b351;
$custom-light: #d7c985;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b351",
  "rgb": {
    "r": 194,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 52.035,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.1201,
    "h": 100.7
  },
  "luminance": 0.44304
}

Semantic roles & 50–950 ramp

primary
#C2B351
secondary
#9FA6D0
accent
#62D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2B351

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

Preview Lab → · Contrast checker → · Palette generator →

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