#C2B248#C2B248

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

Color values

HEX#C2B248
RGBrgb(194, 178, 72)
HSLhsl(52, 50%, 52%)
HSVhsv(52, 63%, 76%)
CMYKcmyk(0%, 8.2%, 62.9%, 23.9%)
CIE-LABlab(72.08, -7.04, 54.64)
CIE-LCHlch(72.08, 55.09, 97.34°)
OKLaboklab(75.69% -0.0236 0.1247)
OKLCHoklch(75.69% 0.127 100.7)
XYZxyz(39.3398, 43.7796, 12.5077)
Luminance0.4378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B248 #4858C2
analogous
#C27548 #C2B248 #95C248
triadic
#C2B248 #48C2B2 #B248C2
tetradic
#C2B248 #48C275 #4858C2 #C24895
square
#C2B248 #48C275 #4858C2 #C24895
split-complementary
#C2B248 #4895C2 #7548C2
monochromatic
#6C6224 #9A8C33 #C2B248 #D1C576 #E1D9A4

Accessibility & contrast

On white

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

On black

9.76
#C2B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B248
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B248#FFFFFF#000000##000000
##C2B2481.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b248;
/* rgb */ color: rgb(194, 178, 72);
/* oklch */ color: oklch(75.7% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#d7c880',
    500: '#c2b248',
    950: '#000000',
  },
}
SCSS
$custom: #c2b248;
$custom-light: #d7c880;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b248",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 52.131,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75691,
    "c": 0.12688,
    "h": 100.7
  },
  "luminance": 0.43778
}

Semantic roles & 50–950 ramp

primary
#C2B248
secondary
#989FCE
accent
#61DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B248

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

Preview Lab → · Contrast checker → · Palette generator →

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