#C2B246#C2B246

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

Color values

HEX#C2B246
RGBrgb(194, 178, 70)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.2%, 63.9%, 23.9%)
CIE-LABlab(72.06, -7.17, 55.49)
CIE-LCHlch(72.06, 55.96, 97.36°)
OKLaboklab(75.67% -0.0242 0.1262)
OKLCHoklch(75.67% 0.128 100.9)
XYZxyz(39.2756, 43.7540, 12.1697)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B246 #4656C2
analogous
#C27446 #C2B246 #94C246
triadic
#C2B246 #46C2B2 #B246C2
tetradic
#C2B246 #46C274 #4656C2 #C24694
square
#C2B246 #46C274 #4656C2 #C24694
split-complementary
#C2B246 #4694C2 #7446C2
monochromatic
#6A6123 #998B32 #C2B246 #D1C574 #E0D8A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B246#FFFFFF#000000##000000
##C2B2461.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)
#C2AD39
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2b246;
/* rgb */ color: rgb(194, 178, 70);
/* oklch */ color: oklch(75.7% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#d7c87e',
    500: '#c2b246',
    950: '#000000',
  },
}
SCSS
$custom: #c2b246;
$custom-light: #d7c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b246",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 52.258,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75672,
    "c": 0.12848,
    "h": 100.9
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#C2B246
secondary
#979ECD
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B246

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

Preview Lab → · Contrast checker → · Palette generator →

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