#C1B232#C1B232

#C1B232 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.142 H 102.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C1B232
RGBrgb(193, 178, 50)
HSLhsl(54, 59%, 48%)
HSVhsv(54, 74%, 76%)
CMYKcmyk(0%, 7.8%, 74.1%, 24.3%)
CIE-LABlab(71.83, -8.67, 63.14)
CIE-LCHlch(71.83, 63.73, 97.82°)
OKLaboklab(75.42% -0.0306 0.139)
OKLCHoklch(75.42% 0.142 102.4)
XYZxyz(38.4902, 43.4102, 9.3686)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B232 #3241C1
analogous
#C16A32 #C1B232 #89C132
triadic
#C1B232 #32C1B2 #B232C1
tetradic
#C1B232 #32C16A #3241C1 #C13289
square
#C1B232 #32C16A #3241C1 #C13289
split-complementary
#C1B232 #3289C1 #6A32C1
monochromatic
#605819 #908525 #C1B232 #D5C85C #E1D88C

Accessibility & contrast

On white

2.17
#C1B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C1B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B232
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B232#FFFFFF#000000##000000
##C1B2321.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC1A
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#D0A599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b232;
/* rgb */ color: rgb(193, 178, 50);
/* oklch */ color: oklch(75.4% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#d8c873',
    500: '#c1b232',
    950: '#000000',
  },
}
SCSS
$custom: #c1b232;
$custom-light: #d8c873;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b232",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 53.706,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.14228,
    "h": 102.4
  },
  "luminance": 0.43409
}

Semantic roles & 50–950 ramp

primary
#C1B232
secondary
#838BCB
accent
#56E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B232

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

Preview Lab → · Contrast checker → · Palette generator →

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