#C2B247#C2B247

#C2B247 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.128 H 100.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C2B247
RGBrgb(194, 178, 71)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 63%, 76%)
CMYKcmyk(0%, 8.2%, 63.4%, 23.9%)
CIE-LABlab(72.07, -7.10, 55.07)
CIE-LCHlch(72.07, 55.53, 97.35°)
OKLaboklab(75.68% -0.0239 0.1254)
OKLCHoklch(75.68% 0.128 100.8)
XYZxyz(39.3074, 43.7667, 12.3373)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B247 #4757C2
analogous
#C27547 #C2B247 #95C247
triadic
#C2B247 #47C2B2 #B247C2
tetradic
#C2B247 #47C275 #4757C2 #C24795
square
#C2B247 #47C275 #4757C2 #C24795
split-complementary
#C2B247 #4795C2 #7547C2
monochromatic
#6B6224 #998C33 #C2B247 #D1C575 #E0D8A3

Accessibility & contrast

On white

2.15
#C2B247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C2B247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B247
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B247#FFFFFF#000000##000000
##C2B2471.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3A
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b247;
/* rgb */ color: rgb(194, 178, 71);
/* oklch */ color: oklch(75.7% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#d7c87f',
    500: '#c2b247',
    950: '#000000',
  },
}
SCSS
$custom: #c2b247;
$custom-light: #d7c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b247",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 52.195,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75682,
    "c": 0.12768,
    "h": 100.8
  },
  "luminance": 0.43765
}

Semantic roles & 50–950 ramp

primary
#C2B247
secondary
#979ECD
accent
#60DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B247

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

Preview Lab → · Contrast checker → · Palette generator →

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