#C1B838#C1B838

#C1B838 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.7% C 0.144 H 105.3°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#C1B838
RGBrgb(193, 184, 56)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 76%)
CMYKcmyk(0%, 4.7%, 71%, 24.3%)
CIE-LABlab(73.48, -11.49, 62.56)
CIE-LCHlch(73.48, 63.61, 100.40°)
OKLaboklab(76.75% -0.0379 0.1388)
OKLCHoklch(76.75% 0.144 105.3)
XYZxyz(39.8482, 45.9055, 10.5022)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B838 #3841C1
analogous
#C17438 #C1B838 #86C138
triadic
#C1B838 #38C1B8 #B838C1
tetradic
#C1B838 #38C174 #3841C1 #C13886
square
#C1B838 #38C174 #3841C1 #C13886
split-complementary
#C1B838 #3886C1 #7438C1
monochromatic
#625E1C #928B2A #C1B838 #D2CB64 #E0DB94

Accessibility & contrast

On white

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

On black

10.18
#C1B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B838
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B838#FFFFFF#000000##000000
##C1B8381.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#CFAC9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c1b838;
/* rgb */ color: rgb(193, 184, 56);
/* oklch */ color: oklch(76.7% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d7cd77',
    500: '#c1b838',
    950: '#000000',
  },
}
SCSS
$custom: #c1b838;
$custom-light: #d7cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b838",
  "rgb": {
    "r": 193,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 56.058,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76747,
    "c": 0.14391,
    "h": 105.3
  },
  "luminance": 0.45904
}

Semantic roles & 50–950 ramp

primary
#C1B838
secondary
#8A8ECB
accent
#53DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B838

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

Preview Lab → · Contrast checker → · Palette generator →

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