#C4B138#C4B138

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

Color values

HEX#C4B138
RGBrgb(196, 177, 56)
HSLhsl(52, 56%, 49%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.7%, 71.4%, 23.1%)
CIE-LABlab(71.87, -6.57, 61.07)
CIE-LCHlch(71.87, 61.42, 96.14°)
OKLaboklab(75.53% -0.0242 0.1356)
OKLCHoklch(75.53% 0.138 100.1)
XYZxyz(39.2027, 43.4674, 10.0657)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B138 #384BC4
analogous
#C46B38 #C4B138 #91C438
triadic
#C4B138 #38C4B1 #B138C4
tetradic
#C4B138 #38C46B #384BC4 #C43891
square
#C4B138 #38C46B #384BC4 #C43891
split-complementary
#C4B138 #3891C4 #6B38C4
monochromatic
#655B1D #94862A #C4B138 #D3C466 #E1D796

Accessibility & contrast

On white

2.17
#C4B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C4B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B138
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B138#FFFFFF#000000##000000
##C4B1381.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#D3A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b138;
/* rgb */ color: rgb(196, 177, 56);
/* oklch */ color: oklch(75.5% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#dac776',
    500: '#c4b138',
    950: '#000000',
  },
}
SCSS
$custom: #c4b138;
$custom-light: #dac776;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b138",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 51.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75528,
    "c": 0.1377,
    "h": 100.1
  },
  "luminance": 0.43466
}

Semantic roles & 50–950 ramp

primary
#C4B138
secondary
#8C94CC
accent
#5DDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B138

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

Preview Lab → · Contrast checker → · Palette generator →

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