#C2B147#C2B147

#C2B147 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.127 H 100.2°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C2B147
RGBrgb(194, 177, 71)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 63%, 76%)
CMYKcmyk(0%, 8.8%, 63.4%, 23.9%)
CIE-LABlab(71.81, -6.58, 54.78)
CIE-LCHlch(71.81, 55.18, 96.85°)
OKLaboklab(75.47% -0.0224 0.1248)
OKLCHoklch(75.47% 0.127 100.2)
XYZxyz(39.1092, 43.3702, 12.2713)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B147 #4758C2
analogous
#C27447 #C2B147 #96C247
triadic
#C2B147 #47C2B1 #B147C2
tetradic
#C2B147 #47C274 #4758C2 #C24796
square
#C2B147 #47C274 #4758C2 #C24796
split-complementary
#C2B147 #4796C2 #7447C2
monochromatic
#6B6124 #998B33 #C2B147 #D1C475 #E0D8A3

Accessibility & contrast

On white

2.17
#C2B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C2B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B147
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B147#FFFFFF#000000##000000
##C2B1471.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3B
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#D0A59B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b147;
/* rgb */ color: rgb(194, 177, 71);
/* oklch */ color: oklch(75.5% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#d7c87f',
    500: '#c2b147',
    950: '#000000',
  },
}
SCSS
$custom: #c2b147;
$custom-light: #d7c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b147",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 51.707,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7547,
    "c": 0.12681,
    "h": 100.2
  },
  "luminance": 0.43369
}

Semantic roles & 50–950 ramp

primary
#C2B147
secondary
#979FCD
accent
#61DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B147

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

Preview Lab → · Contrast checker → · Palette generator →

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