#C1B238#C1B238

#C1B238 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.139 H 102.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C1B238
RGBrgb(193, 178, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 76%)
CMYKcmyk(0%, 7.8%, 71%, 24.3%)
CIE-LABlab(71.87, -8.39, 60.98)
CIE-LCHlch(71.87, 61.55, 97.83°)
OKLaboklab(75.46% -0.0292 0.1355)
OKLCHoklch(75.46% 0.139 102.2)
XYZxyz(38.6282, 43.4654, 10.0956)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B238 #3847C1
analogous
#C16E38 #C1B238 #8CC138
triadic
#C1B238 #38C1B2 #B238C1
tetradic
#C1B238 #38C16E #3847C1 #C1388C
square
#C1B238 #38C16E #3847C1 #C1388C
split-complementary
#C1B238 #388CC1 #6E38C1
monochromatic
#625B1C #92862A #C1B238 #D2C664 #E0D794

Accessibility & contrast

On white

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

On black

9.69
#C1B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B238
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B238#FFFFFF#000000##000000
##C1B2381.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#D0A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b238;
/* rgb */ color: rgb(193, 178, 56);
/* oklch */ color: oklch(75.5% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#d7c876',
    500: '#c1b238',
    950: '#000000',
  },
}
SCSS
$custom: #c1b238;
$custom-light: #d7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b238",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 53.431,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75463,
    "c": 0.13858,
    "h": 102.2
  },
  "luminance": 0.43464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1B238

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

Preview Lab → · Contrast checker → · Palette generator →

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