#C1A338#C1A338

#C1A338 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.127 H 93.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C1A338
RGBrgb(193, 163, 56)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 76%)
CMYKcmyk(0%, 15.5%, 71%, 24.3%)
CIE-LABlab(67.89, -0.47, 57.02)
CIE-LCHlch(67.89, 57.02, 90.48°)
OKLaboklab(72.31% -0.0067 0.1271)
OKLCHoklch(72.31% 0.127 93)
XYZxyz(35.8052, 37.8194, 9.1546)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A338 #3856C1
analogous
#C15F38 #C1A338 #9BC138
triadic
#C1A338 #38C1A3 #A338C1
tetradic
#C1A338 #38C15F #3856C1 #C1389B
square
#C1A338 #38C15F #3856C1 #C1389B
split-complementary
#C1A338 #389BC1 #5F38C1
monochromatic
#62531C #927B2A #C1A338 #D2BA64 #E0CF94

Accessibility & contrast

On white

2.45
#C1A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C1A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A338
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A338#FFFFFF#000000##000000
##C1A3381.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#D1968D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c1a338;
/* rgb */ color: rgb(193, 163, 56);
/* oklch */ color: oklch(72.3% 0.127 93.0);
Tailwind
colors: {
  custom: {
    50: '#d8bd75',
    500: '#c1a338',
    950: '#000000',
  },
}
SCSS
$custom: #c1a338;
$custom-light: #d8bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a338",
  "rgb": {
    "r": 193,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 46.861,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.12727,
    "h": 93
  },
  "luminance": 0.37817
}

Semantic roles & 50–950 ramp

primary
#C1A338
secondary
#8A98CB
accent
#6ADE49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C1A338

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

Preview Lab → · Contrast checker → · Palette generator →

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