#C2B548#C2B548

#C2B548 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.3% C 0.130 H 102.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C2B548
RGBrgb(194, 181, 72)
HSLhsl(54, 50%, 52%)
HSVhsv(54, 63%, 76%)
CMYKcmyk(0%, 6.7%, 62.9%, 23.9%)
CIE-LABlab(72.88, -8.60, 55.51)
CIE-LCHlch(72.88, 56.17, 98.81°)
OKLaboklab(76.33% -0.0281 0.1265)
OKLCHoklch(76.33% 0.13 102.5)
XYZxyz(39.9432, 44.9865, 12.7089)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B548 #4855C2
analogous
#C27848 #C2B548 #92C248
triadic
#C2B548 #48C2B5 #B548C2
tetradic
#C2B548 #48C278 #4855C2 #C24892
square
#C2B548 #48C278 #4855C2 #C24892
split-complementary
#C2B548 #4892C2 #7848C2
monochromatic
#6C6424 #9A8F33 #C2B548 #D1C876 #E1DAA4

Accessibility & contrast

On white

2.10
#C2B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#C2B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B548
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B548#FFFFFF#000000##000000
##C2B5481.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#C9B54E
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b548;
/* rgb */ color: rgb(194, 181, 72);
/* oklch */ color: oklch(76.3% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#d7ca80',
    500: '#c2b548',
    950: '#000000',
  },
}
SCSS
$custom: #c2b548;
$custom-light: #d7ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b548",
  "rgb": {
    "r": 194,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 53.607,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76328,
    "c": 0.12957,
    "h": 102.5
  },
  "luminance": 0.44985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B548

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

Preview Lab → · Contrast checker → · Palette generator →

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