#C2B648#C2B648

#C2B648 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.5% C 0.130 H 103.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C2B648
RGBrgb(194, 182, 72)
HSLhsl(54, 50%, 52%)
HSVhsv(54, 63%, 76%)
CMYKcmyk(0%, 6.2%, 62.9%, 23.9%)
CIE-LABlab(73.15, -9.12, 55.79)
CIE-LCHlch(73.15, 56.53, 99.28°)
OKLaboklab(76.54% -0.0296 0.1271)
OKLCHoklch(76.54% 0.13 103.1)
XYZxyz(40.1473, 45.3946, 12.7769)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B648 #4854C2
analogous
#C27948 #C2B648 #91C248
triadic
#C2B648 #48C2B6 #B648C2
tetradic
#C2B648 #48C279 #4854C2 #C24891
square
#C2B648 #48C279 #4854C2 #C24891
split-complementary
#C2B648 #4891C2 #7948C2
monochromatic
#6C6524 #9A9033 #C2B648 #D1C876 #E1DBA4

Accessibility & contrast

On white

2.08
#C2B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C2B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B648
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B648#FFFFFF#000000##000000
##C2B6481.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#D0AA9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b648;
/* rgb */ color: rgb(194, 182, 72);
/* oklch */ color: oklch(76.5% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#d7cb80',
    500: '#c2b648',
    950: '#000000',
  },
}
SCSS
$custom: #c2b648;
$custom-light: #d7cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b648",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 54.098,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.13049,
    "h": 103.1
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#C2B648
secondary
#989ECE
accent
#5CDA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B648

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

Preview Lab → · Contrast checker → · Palette generator →

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