#C1B240#C1B240

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

Color values

HEX#C1B240
RGBrgb(193, 178, 64)
HSLhsl(53, 51%, 50%)
HSVhsv(53, 67%, 76%)
CMYKcmyk(0%, 7.8%, 66.8%, 24.3%)
CIE-LABlab(71.93, -7.96, 57.86)
CIE-LCHlch(71.93, 58.41, 97.83°)
OKLaboklab(75.53% -0.0271 0.1303)
OKLCHoklch(75.53% 0.133 101.8)
XYZxyz(38.8398, 43.5500, 11.2096)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B240 #404FC1
analogous
#C17140 #C1B240 #90C140
triadic
#C1B240 #40C1B2 #B240C1
tetradic
#C1B240 #40C171 #404FC1 #C14090
square
#C1B240 #40C171 #404FC1 #C14090
split-complementary
#C1B240 #4090C1 #7140C1
monochromatic
#665E21 #948830 #C1B240 #D0C56E #DFD79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1B240#FFFFFF#000000##000000
##C1B2401.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)
#C2AD31
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#CFA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b240;
/* rgb */ color: rgb(193, 178, 64);
/* oklch */ color: oklch(75.5% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#d7c87b',
    500: '#c1b240',
    950: '#000000',
  },
}
SCSS
$custom: #c1b240;
$custom-light: #d7c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b240",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 53.023,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75527,
    "c": 0.13306,
    "h": 101.8
  },
  "luminance": 0.43548
}

Semantic roles & 50–950 ramp

primary
#C1B240
secondary
#9298CB
accent
#5EDA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B240

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

Preview Lab → · Contrast checker → · Palette generator →

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