#C1B040#C1B040

#C1B040 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.131 H 100.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C1B040
RGBrgb(193, 176, 64)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 8.8%, 66.8%, 24.3%)
CIE-LABlab(71.39, -6.92, 57.31)
CIE-LCHlch(71.39, 57.72, 96.88°)
OKLaboklab(75.1% -0.0241 0.1291)
OKLCHoklch(75.1% 0.131 100.6)
XYZxyz(38.4447, 42.7600, 11.0780)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B040 #4051C1
analogous
#C16F40 #C1B040 #91C140
triadic
#C1B040 #40C1B0 #B040C1
tetradic
#C1B040 #40C16F #4051C1 #C14091
square
#C1B040 #40C16F #4051C1 #C14091
split-complementary
#C1B040 #4091C1 #6F40C1
monochromatic
#665D21 #948730 #C1B040 #D0C36E #DFD69C

Accessibility & contrast

On white

2.20
#C1B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#C1B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B040
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B040#FFFFFF#000000##000000
##C1B0401.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#CFA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c1b040;
/* rgb */ color: rgb(193, 176, 64);
/* oklch */ color: oklch(75.1% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#d7c77b',
    500: '#c1b040',
    950: '#000000',
  },
}
SCSS
$custom: #c1b040;
$custom-light: #d7c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b040",
  "rgb": {
    "r": 193,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 52.093,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75102,
    "c": 0.13134,
    "h": 100.6
  },
  "luminance": 0.42758
}

Semantic roles & 50–950 ramp

primary
#C1B040
secondary
#9299CB
accent
#60DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B040

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

Preview Lab → · Contrast checker → · Palette generator →

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