#C2B847#C2B847

#C2B847 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.133 H 104.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C2B847
RGBrgb(194, 184, 71)
HSLhsl(55, 50%, 52%)
HSVhsv(55, 63%, 76%)
CMYKcmyk(0%, 5.2%, 63.4%, 23.9%)
CIE-LABlab(73.68, -10.22, 56.79)
CIE-LCHlch(73.68, 57.70, 100.20°)
OKLaboklab(76.96% -0.0328 0.1291)
OKLCHoklch(76.96% 0.133 104.3)
XYZxyz(40.5275, 46.2067, 12.7440)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B847 #4751C2
analogous
#C27B47 #C2B847 #8FC247
triadic
#C2B847 #47C2B8 #B847C2
tetradic
#C2B847 #47C27B #4751C2 #C2478F
square
#C2B847 #47C27B #4751C2 #C2478F
split-complementary
#C2B847 #478FC2 #7B47C2
monochromatic
#6B6524 #999133 #C2B847 #D1CA75 #E0DBA3

Accessibility & contrast

On white

2.05
#C2B847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C2B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B847
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B847#FFFFFF#000000##000000
##C2B8471.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B239
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#D0ACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b847;
/* rgb */ color: rgb(194, 184, 71);
/* oklch */ color: oklch(77.0% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#d7cd7f',
    500: '#c2b847',
    950: '#000000',
  },
}
SCSS
$custom: #c2b847;
$custom-light: #d7cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b847",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 55.122,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76959,
    "c": 0.13316,
    "h": 104.3
  },
  "luminance": 0.46205
}

Semantic roles & 50–950 ramp

primary
#C2B847
secondary
#979CCD
accent
#59DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B847

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

Preview Lab → · Contrast checker → · Palette generator →

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