#C2B848#C2B848

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

Color values

HEX#C2B848
RGBrgb(194, 184, 72)
HSLhsl(55, 50%, 52%)
HSVhsv(55, 63%, 76%)
CMYKcmyk(0%, 5.2%, 62.9%, 23.9%)
CIE-LABlab(73.69, -10.15, 56.37)
CIE-LCHlch(73.69, 57.28, 100.21°)
OKLaboklab(76.97% -0.0325 0.1283)
OKLCHoklch(76.97% 0.132 104.2)
XYZxyz(40.5598, 46.2197, 12.9144)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B848 #4852C2
analogous
#C27B48 #C2B848 #8FC248
triadic
#C2B848 #48C2B8 #B848C2
tetradic
#C2B848 #48C27B #4852C2 #C2488F
square
#C2B848 #48C27B #4852C2 #C2488F
split-complementary
#C2B848 #488FC2 #7B48C2
monochromatic
#6C6624 #9A9133 #C2B848 #D1CA76 #E1DCA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2B848#FFFFFF#000000##000000
##C2B8481.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)
#C7B23A
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#D0ACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b848;
/* rgb */ color: rgb(194, 184, 72);
/* oklch */ color: oklch(77.0% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#d7cd80',
    500: '#c2b848',
    950: '#000000',
  },
}
SCSS
$custom: #c2b848;
$custom-light: #d7cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b848",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 55.082,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76968,
    "c": 0.13237,
    "h": 104.2
  },
  "luminance": 0.46218
}

Semantic roles & 50–950 ramp

primary
#C2B848
secondary
#989DCE
accent
#5ADA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B848

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

Preview Lab → · Contrast checker → · Palette generator →

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