#C1B540#C1B540

#C1B540 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.136 H 103.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C1B540
RGBrgb(193, 181, 64)
HSLhsl(54, 51%, 50%)
HSVhsv(54, 67%, 76%)
CMYKcmyk(0%, 6.2%, 66.8%, 24.3%)
CIE-LABlab(72.73, -9.52, 58.69)
CIE-LCHlch(72.73, 59.46, 99.21°)
OKLaboklab(76.17% -0.0315 0.132)
OKLCHoklch(76.17% 0.136 103.4)
XYZxyz(39.4432, 44.7569, 11.4108)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B540 #404CC1
analogous
#C17540 #C1B540 #8CC140
triadic
#C1B540 #40C1B5 #B540C1
tetradic
#C1B540 #40C175 #404CC1 #C1408C
square
#C1B540 #40C175 #404CC1 #C1408C
split-complementary
#C1B540 #408CC1 #7540C1
monochromatic
#665F21 #948B30 #C1B540 #D0C76E #DFD99C

Accessibility & contrast

On white

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

On black

9.95
#C1B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B540
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B540#FFFFFF#000000##000000
##C1B5401.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#CFA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c1b540;
/* rgb */ color: rgb(193, 181, 64);
/* oklch */ color: oklch(76.2% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#d7ca7b',
    500: '#c1b540',
    950: '#000000',
  },
}
SCSS
$custom: #c1b540;
$custom-light: #d7ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b540",
  "rgb": {
    "r": 193,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 54.419,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76166,
    "c": 0.13573,
    "h": 103.4
  },
  "luminance": 0.44755
}

Semantic roles & 50–950 ramp

primary
#C1B540
secondary
#9297CB
accent
#5ADA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B540

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

Preview Lab → · Contrast checker → · Palette generator →

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