#C1B940#C1B940

#C1B940 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.139 H 105.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#C1B940
RGBrgb(193, 185, 64)
HSLhsl(56, 51%, 50%)
HSVhsv(56, 67%, 76%)
CMYKcmyk(0%, 4.1%, 66.8%, 24.3%)
CIE-LABlab(73.81, -11.58, 59.80)
CIE-LCHlch(73.81, 60.91, 100.96°)
OKLaboklab(77.02% -0.0374 0.1344)
OKLCHoklch(77.02% 0.139 105.5)
XYZxyz(40.2682, 46.4070, 11.6858)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B940 #4048C1
analogous
#C17840 #C1B940 #88C140
triadic
#C1B940 #40C1B9 #B940C1
tetradic
#C1B940 #40C178 #4048C1 #C14088
square
#C1B940 #40C178 #4048C1 #C14088
split-complementary
#C1B940 #4088C1 #7840C1
monochromatic
#666121 #948E30 #C1B940 #D0CA6E #DFDB9C

Accessibility & contrast

On white

2.04
#C1B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#C1B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B940
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B940#FFFFFF#000000##000000
##C1B9401.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1b940;
/* rgb */ color: rgb(193, 185, 64);
/* oklch */ color: oklch(77.0% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#d7cd7b',
    500: '#c1b940',
    950: '#000000',
  },
}
SCSS
$custom: #c1b940;
$custom-light: #d7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b940",
  "rgb": {
    "r": 193,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 56.279,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77023,
    "c": 0.13946,
    "h": 105.5
  },
  "luminance": 0.46406
}

Semantic roles & 50–950 ramp

primary
#C1B940
secondary
#9295CB
accent
#56DA4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B940

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

Preview Lab → · Contrast checker → · Palette generator →

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