#C1B939#C1B939

#C1B939 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.0% C 0.144 H 105.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C1B939
RGBrgb(193, 185, 57)
HSLhsl(56, 54%, 49%)
HSVhsv(56, 70%, 76%)
CMYKcmyk(0%, 4.1%, 70.5%, 24.3%)
CIE-LABlab(73.76, -11.95, 62.46)
CIE-LCHlch(73.76, 63.59, 100.83°)
OKLaboklab(76.97% -0.0391 0.1388)
OKLCHoklch(76.97% 0.144 105.8)
XYZxyz(40.0814, 46.3323, 10.7018)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B939 #3941C1
analogous
#C17539 #C1B939 #85C139
triadic
#C1B939 #39C1B9 #B939C1
tetradic
#C1B939 #39C175 #3941C1 #C13985
square
#C1B939 #39C175 #3941C1 #C13985
split-complementary
#C1B939 #3985C1 #7539C1
monochromatic
#635E1D #928C2B #C1B939 #D2CB66 #E0DB95

Accessibility & contrast

On white

2.05
#C1B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C1B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B939
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B939#FFFFFF#000000##000000
##C1B9391.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B224
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#CFADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c1b939;
/* rgb */ color: rgb(193, 185, 57);
/* oklch */ color: oklch(77.0% 0.144 105.8);
Tailwind
colors: {
  custom: {
    50: '#d7cd78',
    500: '#c1b939',
    950: '#000000',
  },
}
SCSS
$custom: #c1b939;
$custom-light: #d7cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b939",
  "rgb": {
    "r": 193,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 56.471,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7697,
    "c": 0.14421,
    "h": 105.8
  },
  "luminance": 0.46331
}

Semantic roles & 50–950 ramp

primary
#C1B939
secondary
#8B8FCB
accent
#53DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B939

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

Preview Lab → · Contrast checker → · Palette generator →

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