#C4B338#C4B338

#C4B338 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.0% C 0.139 H 101.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C4B338
RGBrgb(196, 179, 56)
HSLhsl(53, 56%, 49%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.7%, 71.4%, 23.1%)
CIE-LABlab(72.40, -7.61, 61.59)
CIE-LCHlch(72.40, 62.06, 97.04°)
OKLaboklab(75.95% -0.0271 0.1367)
OKLCHoklch(75.95% 0.139 101.2)
XYZxyz(39.6006, 44.2633, 10.1984)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B338 #3849C4
analogous
#C46D38 #C4B338 #8FC438
triadic
#C4B338 #38C4B3 #B338C4
tetradic
#C4B338 #38C46D #3849C4 #C4388F
square
#C4B338 #38C46D #3849C4 #C4388F
split-complementary
#C4B338 #388FC4 #6D38C4
monochromatic
#655C1D #94882A #C4B338 #D3C666 #E1D896

Accessibility & contrast

On white

2.13
#C4B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C4B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B338
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B338#FFFFFF#000000##000000
##C4B3381.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D3A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b338;
/* rgb */ color: rgb(196, 179, 56);
/* oklch */ color: oklch(76.0% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#dac977',
    500: '#c4b338',
    950: '#000000',
  },
}
SCSS
$custom: #c4b338;
$custom-light: #dac977;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b338",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 52.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75951,
    "c": 0.13934,
    "h": 101.2
  },
  "luminance": 0.44261
}

Semantic roles & 50–950 ramp

primary
#C4B338
secondary
#8C93CC
accent
#5BDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B338

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

Preview Lab → · Contrast checker → · Palette generator →

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