#C2B048#C2B048

#C2B048 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.125 H 99.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C2B048
RGBrgb(194, 176, 72)
HSLhsl(51, 50%, 52%)
HSVhsv(51, 63%, 76%)
CMYKcmyk(0%, 9.3%, 62.9%, 23.9%)
CIE-LABlab(71.55, -5.99, 54.06)
CIE-LCHlch(71.55, 54.39, 96.32°)
OKLaboklab(75.27% -0.0206 0.1234)
OKLCHoklch(75.27% 0.125 99.5)
XYZxyz(38.9448, 42.9896, 12.3761)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B048 #485AC2
analogous
#C27348 #C2B048 #97C248
triadic
#C2B048 #48C2B0 #B048C2
tetradic
#C2B048 #48C273 #485AC2 #C24897
square
#C2B048 #48C273 #485AC2 #C24897
split-complementary
#C2B048 #4897C2 #7348C2
monochromatic
#6C6124 #9A8A33 #C2B048 #D1C476 #E1D8A4

Accessibility & contrast

On white

2.19
#C2B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#C2B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B048
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B048#FFFFFF#000000##000000
##C2B0481.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB3C
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#D0A49A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b048;
/* rgb */ color: rgb(194, 176, 72);
/* oklch */ color: oklch(75.3% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#d7c77f',
    500: '#c2b048',
    950: '#000000',
  },
}
SCSS
$custom: #c2b048;
$custom-light: #d7c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b048",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 51.148,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75269,
    "c": 0.12515,
    "h": 99.5
  },
  "luminance": 0.42988
}

Semantic roles & 50–950 ramp

primary
#C2B048
secondary
#98A0CE
accent
#63DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B048

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

Preview Lab → · Contrast checker → · Palette generator →

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