#C4B339#C4B339

#C4B339 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#C4B339
RGBrgb(196, 179, 57)
HSLhsl(53, 55%, 50%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.7%, 70.9%, 23.1%)
CIE-LABlab(72.41, -7.56, 61.22)
CIE-LCHlch(72.41, 61.68, 97.04°)
OKLaboklab(75.96% -0.0269 0.1361)
OKLCHoklch(75.96% 0.139 101.2)
XYZxyz(39.6253, 44.2731, 10.3284)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B339 #394AC4
analogous
#C46E39 #C4B339 #90C439
triadic
#C4B339 #39C4B3 #B339C4
tetradic
#C4B339 #39C46E #394AC4 #C43990
square
#C4B339 #39C46E #394AC4 #C43990
split-complementary
#C4B339 #3990C4 #6E39C4
monochromatic
#655C1D #95882B #C4B339 #D3C667 #E1D897

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B339#FFFFFF#000000##000000
##C4B3391.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)
#C4AE26
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#D3A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b339;
/* rgb */ color: rgb(196, 179, 57);
/* oklch */ color: oklch(76.0% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#d9c977',
    500: '#c4b339',
    950: '#000000',
  },
}
SCSS
$custom: #c4b339;
$custom-light: #d9c977;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b339",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 52.662,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.1387,
    "h": 101.2
  },
  "luminance": 0.44271
}

Semantic roles & 50–950 ramp

primary
#C4B339
secondary
#8D94CC
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B339

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

Preview Lab → · Contrast checker → · Palette generator →

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