#C2BA48#C2BA48

#C2BA48 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.4% C 0.134 H 105.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C2BA48
RGBrgb(194, 186, 72)
HSLhsl(56, 50%, 52%)
HSVhsv(56, 63%, 76%)
CMYKcmyk(0%, 4.1%, 62.9%, 23.9%)
CIE-LABlab(74.23, -11.18, 56.94)
CIE-LCHlch(74.23, 58.03, 101.11°)
OKLaboklab(77.4% -0.0354 0.1295)
OKLCHoklch(77.4% 0.134 105.3)
XYZxyz(40.9782, 47.0564, 13.0539)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA48 #4850C2
analogous
#C27D48 #C2BA48 #8DC248
triadic
#C2BA48 #48C2BA #BA48C2
tetradic
#C2BA48 #48C27D #4850C2 #C2488D
square
#C2BA48 #48C27D #4850C2 #C2488D
split-complementary
#C2BA48 #488DC2 #7D48C2
monochromatic
#6C6724 #9A9333 #C2BA48 #D1CB76 #E1DDA4

Accessibility & contrast

On white

2.02
#C2BA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C2BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA48
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA48#FFFFFF#000000##000000
##C2BA481.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#D0AEA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba48;
/* rgb */ color: rgb(194, 186, 72);
/* oklch */ color: oklch(77.4% 0.134 105.3);
Tailwind
colors: {
  custom: {
    50: '#d7ce80',
    500: '#c2ba48',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba48;
$custom-light: #d7ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba48",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 56.066,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77396,
    "c": 0.1343,
    "h": 105.3
  },
  "luminance": 0.47055
}

Semantic roles & 50–950 ramp

primary
#C2BA48
secondary
#989CCE
accent
#57DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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