#C1B548#C1B548

#C1B548 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.2% C 0.130 H 103.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C1B548
RGBrgb(193, 181, 72)
HSLhsl(54, 49%, 52%)
HSVhsv(54, 63%, 76%)
CMYKcmyk(0%, 6.2%, 62.7%, 24.3%)
CIE-LABlab(72.80, -9.03, 55.39)
CIE-LCHlch(72.80, 56.12, 99.26°)
OKLaboklab(76.24% -0.0292 0.1263)
OKLCHoklch(76.24% 0.13 103)
XYZxyz(39.6874, 44.8546, 12.6969)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B548 #4854C1
analogous
#C17948 #C1B548 #90C148
triadic
#C1B548 #48C1B5 #B548C1
tetradic
#C1B548 #48C179 #4854C1 #C14890
square
#C1B548 #48C179 #4854C1 #C14890
split-complementary
#C1B548 #4890C1 #7948C1
monochromatic
#6B6424 #988E34 #C1B548 #D0C776 #E0DAA3

Accessibility & contrast

On white

2.11
#C1B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C1B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B548
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B548#FFFFFF#000000##000000
##C1B5481.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#CFA99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c1b548;
/* rgb */ color: rgb(193, 181, 72);
/* oklch */ color: oklch(76.2% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#d7ca80',
    500: '#c1b548',
    950: '#000000',
  },
}
SCSS
$custom: #c1b548;
$custom-light: #d7ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b548",
  "rgb": {
    "r": 193,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 54.05,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76238,
    "c": 0.12961,
    "h": 103
  },
  "luminance": 0.44853
}

Semantic roles & 50–950 ramp

primary
#C1B548
secondary
#989DCD
accent
#5DD94F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B548

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

Preview Lab → · Contrast checker → · Palette generator →

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