#C1B538#C1B538

#C1B538 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.1% C 0.141 H 103.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#C1B538
RGBrgb(193, 181, 56)
HSLhsl(55, 55%, 49%)
HSVhsv(55, 71%, 76%)
CMYKcmyk(0%, 6.2%, 71%, 24.3%)
CIE-LABlab(72.68, -9.94, 61.77)
CIE-LCHlch(72.68, 62.56, 99.14°)
OKLaboklab(76.1% -0.0336 0.1372)
OKLCHoklch(76.1% 0.141 103.8)
XYZxyz(39.2317, 44.6723, 10.2967)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B538 #3844C1
analogous
#C17138 #C1B538 #89C138
triadic
#C1B538 #38C1B5 #B538C1
tetradic
#C1B538 #38C171 #3844C1 #C13889
square
#C1B538 #38C171 #3844C1 #C13889
split-complementary
#C1B538 #3889C1 #7138C1
monochromatic
#625C1C #92892A #C1B538 #D2C864 #E0D994

Accessibility & contrast

On white

2.11
#C1B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C1B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B538
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B538#FFFFFF#000000##000000
##C1B5381.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#CFA89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c1b538;
/* rgb */ color: rgb(193, 181, 56);
/* oklch */ color: oklch(76.1% 0.141 103.8);
Tailwind
colors: {
  custom: {
    50: '#d7ca77',
    500: '#c1b538',
    950: '#000000',
  },
}
SCSS
$custom: #c1b538;
$custom-light: #d7ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b538",
  "rgb": {
    "r": 193,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 54.745,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.1412,
    "h": 103.8
  },
  "luminance": 0.44671
}

Semantic roles & 50–950 ramp

primary
#C1B538
secondary
#8A90CB
accent
#56DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B538

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

Preview Lab → · Contrast checker → · Palette generator →

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