#C5B248#C5B248

#C5B248 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.127 H 99.1°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C5B248
RGBrgb(197, 178, 72)
HSLhsl(51, 52%, 53%)
HSVhsv(51, 63%, 77%)
CMYKcmyk(0%, 9.6%, 63.5%, 22.7%)
CIE-LABlab(72.35, -5.75, 55.01)
CIE-LCHlch(72.35, 55.31, 95.97°)
OKLaboklab(75.97% -0.0201 0.1254)
OKLCHoklch(75.97% 0.127 99.1)
XYZxyz(40.1177, 44.1808, 12.5442)
Luminance0.4418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B248 #485BC5
analogous
#C57348 #C5B248 #99C548
triadic
#C5B248 #48C5B2 #B248C5
tetradic
#C5B248 #48C573 #485BC5 #C54899
square
#C5B248 #48C573 #485BC5 #C54899
split-complementary
#C5B248 #4899C5 #7348C5
monochromatic
#6F6423 #9E8D32 #C5B248 #D4C676 #E2D9A5

Accessibility & contrast

On white

2.14
#C5B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C5B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B248
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B248#FFFFFF#000000##000000
##C5B2481.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#D4A69C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b248;
/* rgb */ color: rgb(197, 178, 72);
/* oklch */ color: oklch(76.0% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#dac880',
    500: '#c5b248',
    950: '#000000',
  },
}
SCSS
$custom: #c5b248;
$custom-light: #dac880;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b248",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 50.88,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75968,
    "c": 0.12697,
    "h": 99.1
  },
  "luminance": 0.44179
}

Semantic roles & 50–950 ramp

primary
#C5B248
secondary
#99A2CF
accent
#62DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B248

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

Preview Lab → · Contrast checker → · Palette generator →

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