#C1B840#C1B840

#C1B840 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.139 H 105.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C1B840
RGBrgb(193, 184, 64)
HSLhsl(56, 51%, 50%)
HSVhsv(56, 67%, 76%)
CMYKcmyk(0%, 4.7%, 66.8%, 24.3%)
CIE-LABlab(73.54, -11.06, 59.52)
CIE-LCHlch(73.54, 60.54, 100.53°)
OKLaboklab(76.81% -0.0359 0.1338)
OKLCHoklch(76.81% 0.139 105)
XYZxyz(40.0598, 45.9901, 11.6163)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B840 #4049C1
analogous
#C17740 #C1B840 #89C140
triadic
#C1B840 #40C1B8 #B840C1
tetradic
#C1B840 #40C177 #4049C1 #C14089
square
#C1B840 #40C177 #4049C1 #C14089
split-complementary
#C1B840 #4089C1 #7740C1
monochromatic
#666121 #948D30 #C1B840 #D0C96E #DFDA9C

Accessibility & contrast

On white

2.06
#C1B840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C1B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B840
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B840#FFFFFF#000000##000000
##C1B8401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#CFACA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c1b840;
/* rgb */ color: rgb(193, 184, 64);
/* oklch */ color: oklch(76.8% 0.139 105.0);
Tailwind
colors: {
  custom: {
    50: '#d7cd7b',
    500: '#c1b840',
    950: '#000000',
  },
}
SCSS
$custom: #c1b840;
$custom-light: #d7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b840",
  "rgb": {
    "r": 193,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 55.814,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.13851,
    "h": 105
  },
  "luminance": 0.45989
}

Semantic roles & 50–950 ramp

primary
#C1B840
secondary
#9296CB
accent
#57DA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B840

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

Preview Lab → · Contrast checker → · Palette generator →

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