#C1B338#C1B338

#C1B338 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.139 H 102.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C1B338
RGBrgb(193, 179, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 7.3%, 71%, 24.3%)
CIE-LABlab(72.14, -8.91, 61.24)
CIE-LCHlch(72.14, 61.89, 98.28°)
OKLaboklab(75.68% -0.0307 0.136)
OKLCHoklch(75.68% 0.139 102.7)
XYZxyz(38.8279, 43.8648, 10.1621)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B338 #3846C1
analogous
#C16F38 #C1B338 #8BC138
triadic
#C1B338 #38C1B3 #B338C1
tetradic
#C1B338 #38C16F #3846C1 #C1388B
square
#C1B338 #38C16F #3846C1 #C1388B
split-complementary
#C1B338 #388BC1 #6F38C1
monochromatic
#625B1C #92872A #C1B338 #D2C764 #E0D894

Accessibility & contrast

On white

2.15
#C1B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#C1B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B338
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B338#FFFFFF#000000##000000
##C1B3381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#D0A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c1b338;
/* rgb */ color: rgb(193, 179, 56);
/* oklch */ color: oklch(75.7% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d7c976',
    500: '#c1b338',
    950: '#000000',
  },
}
SCSS
$custom: #c1b338;
$custom-light: #d7c976;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b338",
  "rgb": {
    "r": 193,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 53.869,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75677,
    "c": 0.13944,
    "h": 102.7
  },
  "luminance": 0.43863
}

Semantic roles & 50–950 ramp

primary
#C1B338
secondary
#8A90CB
accent
#59DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B338

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

Preview Lab → · Contrast checker → · Palette generator →

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