#C1B045#C1B045

#C1B045 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.128 H 100.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C1B045
RGBrgb(193, 176, 69)
HSLhsl(52, 50%, 51%)
HSVhsv(52, 64%, 76%)
CMYKcmyk(0%, 8.8%, 64.2%, 24.3%)
CIE-LABlab(71.43, -6.61, 55.23)
CIE-LCHlch(71.43, 55.62, 96.83°)
OKLaboklab(75.15% -0.0227 0.1255)
OKLCHoklch(75.15% 0.128 100.3)
XYZxyz(38.5934, 42.8195, 11.8612)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B045 #4556C1
analogous
#C17245 #C1B045 #94C145
triadic
#C1B045 #45C1B0 #B045C1
tetradic
#C1B045 #45C172 #4556C1 #C14594
square
#C1B045 #45C172 #4556C1 #C14594
split-complementary
#C1B045 #4594C1 #7245C1
monochromatic
#695F23 #978932 #C1B045 #D0C373 #E0D7A1

Accessibility & contrast

On white

2.20
#C1B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#C1B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B045
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B045#FFFFFF#000000##000000
##C1B0451.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB38
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#CFA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c1b045;
/* rgb */ color: rgb(193, 176, 69);
/* oklch */ color: oklch(75.1% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d7c77e',
    500: '#c1b045',
    950: '#000000',
  },
}
SCSS
$custom: #c1b045;
$custom-light: #d7c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b045",
  "rgb": {
    "r": 193,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 51.774,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75147,
    "c": 0.12752,
    "h": 100.3
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#C1B045
secondary
#969DCC
accent
#61DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1B045

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

Preview Lab → · Contrast checker → · Palette generator →

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