#C1B138#C1B138

#C1B138 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.138 H 101.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#C1B138
RGBrgb(193, 177, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 76%)
CMYKcmyk(0%, 8.3%, 71%, 24.3%)
CIE-LABlab(71.60, -7.87, 60.71)
CIE-LCHlch(71.60, 61.22, 97.38°)
OKLaboklab(75.25% -0.0277 0.1349)
OKLCHoklch(75.25% 0.138 101.6)
XYZxyz(38.4300, 43.0689, 10.0295)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B138 #3848C1
analogous
#C16D38 #C1B138 #8DC138
triadic
#C1B138 #38C1B1 #B138C1
tetradic
#C1B138 #38C16D #3848C1 #C1388D
square
#C1B138 #38C16D #3848C1 #C1388D
split-complementary
#C1B138 #388DC1 #6D38C1
monochromatic
#625A1C #92852A #C1B138 #D2C564 #E0D794

Accessibility & contrast

On white

2.18
#C1B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#C1B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B138
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B138#FFFFFF#000000##000000
##C1B1381.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC25
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#D0A499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c1b138;
/* rgb */ color: rgb(193, 177, 56);
/* oklch */ color: oklch(75.3% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#d7c876',
    500: '#c1b138',
    950: '#000000',
  },
}
SCSS
$custom: #c1b138;
$custom-light: #d7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b138",
  "rgb": {
    "r": 193,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 52.993,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75251,
    "c": 0.13774,
    "h": 101.6
  },
  "luminance": 0.43067
}

Semantic roles & 50–950 ramp

primary
#C1B138
secondary
#8A91CB
accent
#5BDE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B138

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

Preview Lab → · Contrast checker → · Palette generator →

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