#C2B047#C2B047

#C2B047 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.126 H 99.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C2B047
RGBrgb(194, 176, 71)
HSLhsl(51, 50%, 52%)
HSVhsv(51, 63%, 76%)
CMYKcmyk(0%, 9.3%, 63.4%, 23.9%)
CIE-LABlab(71.54, -6.06, 54.50)
CIE-LCHlch(71.54, 54.83, 96.34°)
OKLaboklab(75.26% -0.0209 0.1242)
OKLCHoklch(75.26% 0.126 99.6)
XYZxyz(38.9124, 42.9766, 12.2057)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B047 #4759C2
analogous
#C27347 #C2B047 #96C247
triadic
#C2B047 #47C2B0 #B047C2
tetradic
#C2B047 #47C273 #4759C2 #C24796
square
#C2B047 #47C273 #4759C2 #C24796
split-complementary
#C2B047 #4796C2 #7347C2
monochromatic
#6B6124 #998A33 #C2B047 #D1C475 #E0D7A3

Accessibility & contrast

On white

2.19
#C2B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C2B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B047
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B047#FFFFFF#000000##000000
##C2B0471.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB3B
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#D0A49A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b047;
/* rgb */ color: rgb(194, 176, 71);
/* oklch */ color: oklch(75.3% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#d7c77f',
    500: '#c2b047',
    950: '#000000',
  },
}
SCSS
$custom: #c2b047;
$custom-light: #d7c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b047",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 51.22,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75259,
    "c": 0.12596,
    "h": 99.6
  },
  "luminance": 0.42975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B047

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

Preview Lab → · Contrast checker → · Palette generator →

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