#C1B142#C1B142

#C1B142 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.3% C 0.131 H 101.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C1B142
RGBrgb(193, 177, 66)
HSLhsl(52, 51%, 51%)
HSVhsv(52, 66%, 76%)
CMYKcmyk(0%, 8.3%, 65.8%, 24.3%)
CIE-LABlab(71.67, -7.32, 56.77)
CIE-LCHlch(71.67, 57.24, 97.35°)
OKLaboklab(75.33% -0.0251 0.1283)
OKLCHoklch(75.33% 0.131 101.1)
XYZxyz(38.6994, 43.1767, 11.4487)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B142 #4252C1
analogous
#C17142 #C1B142 #91C142
triadic
#C1B142 #42C1B1 #B142C1
tetradic
#C1B142 #42C171 #4252C1 #C14291
square
#C1B142 #42C171 #4252C1 #C14291
split-complementary
#C1B142 #4291C1 #7142C1
monochromatic
#675E22 #958831 #C1B142 #D0C470 #DFD79E

Accessibility & contrast

On white

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

On black

9.64
#C1B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B142
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B142#FFFFFF#000000##000000
##C1B1421.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C6B248
Tritanopia (blue-blind)
#CFA59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b142;
/* rgb */ color: rgb(193, 177, 66);
/* oklch */ color: oklch(75.3% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d7c87c',
    500: '#c1b142',
    950: '#000000',
  },
}
SCSS
$custom: #c1b142;
$custom-light: #d7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b142",
  "rgb": {
    "r": 193,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 52.441,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75332,
    "c": 0.1307,
    "h": 101.1
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1B142

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

Preview Lab → · Contrast checker → · Palette generator →

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