#C1B242#C1B242

#C1B242 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.132 H 101.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C1B242
RGBrgb(193, 178, 66)
HSLhsl(53, 51%, 51%)
HSVhsv(53, 66%, 76%)
CMYKcmyk(0%, 7.8%, 65.8%, 24.3%)
CIE-LABlab(71.94, -7.84, 57.05)
CIE-LCHlch(71.94, 57.58, 97.83°)
OKLaboklab(75.54% -0.0265 0.1289)
OKLCHoklch(75.54% 0.132 101.6)
XYZxyz(38.8977, 43.5732, 11.5148)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B242 #4251C1
analogous
#C17242 #C1B242 #91C142
triadic
#C1B242 #42C1B2 #B242C1
tetradic
#C1B242 #42C172 #4251C1 #C14291
square
#C1B242 #42C172 #4251C1 #C14291
split-complementary
#C1B242 #4291C1 #7242C1
monochromatic
#675F22 #958931 #C1B242 #D0C570 #DFD89E

Accessibility & contrast

On white

2.16
#C1B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C1B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B242
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B242#FFFFFF#000000##000000
##C1B2421.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#CFA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b242;
/* rgb */ color: rgb(193, 178, 66);
/* oklch */ color: oklch(75.5% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#d7c87c',
    500: '#c1b242',
    950: '#000000',
  },
}
SCSS
$custom: #c1b242;
$custom-light: #d7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b242",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 52.913,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75544,
    "c": 0.13158,
    "h": 101.6
  },
  "luminance": 0.43572
}

Semantic roles & 50–950 ramp

primary
#C1B242
secondary
#939ACC
accent
#5EDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B242

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

Preview Lab → · Contrast checker → · Palette generator →

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