#C2B948#C2B948

#C2B948 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.2% C 0.133 H 104.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C2B948
RGBrgb(194, 185, 72)
HSLhsl(56, 50%, 52%)
HSVhsv(56, 63%, 76%)
CMYKcmyk(0%, 4.6%, 62.9%, 23.9%)
CIE-LABlab(73.96, -10.67, 56.66)
CIE-LCHlch(73.96, 57.65, 100.66°)
OKLaboklab(77.18% -0.034 0.1289)
OKLCHoklch(77.18% 0.133 104.8)
XYZxyz(40.7683, 46.6366, 12.9839)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B948 #4851C2
analogous
#C27C48 #C2B948 #8EC248
triadic
#C2B948 #48C2B9 #B948C2
tetradic
#C2B948 #48C27C #4851C2 #C2488E
square
#C2B948 #48C27C #4851C2 #C2488E
split-complementary
#C2B948 #488EC2 #7C48C2
monochromatic
#6C6624 #9A9233 #C2B948 #D1CB76 #E1DCA4

Accessibility & contrast

On white

2.03
#C2B948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#C2B948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B948
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B948#FFFFFF#000000##000000
##C2B9481.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33A
Deuteranopia (green-blind)
#CCB84F
Tritanopia (blue-blind)
#D0ADA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2b948;
/* rgb */ color: rgb(194, 185, 72);
/* oklch */ color: oklch(77.2% 0.133 104.8);
Tailwind
colors: {
  custom: {
    50: '#d7cd80',
    500: '#c2b948',
    950: '#000000',
  },
}
SCSS
$custom: #c2b948;
$custom-light: #d7cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b948",
  "rgb": {
    "r": 194,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 55.574,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77182,
    "c": 0.13333,
    "h": 104.8
  },
  "luminance": 0.46635
}

Semantic roles & 50–950 ramp

primary
#C2B948
secondary
#989CCE
accent
#59DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B948

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

Preview Lab → · Contrast checker → · Palette generator →

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