#C4B33F#C4B33F

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

Color values

HEX#C4B33F
RGBrgb(196, 179, 63)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 68%, 77%)
CMYKcmyk(0%, 8.7%, 67.9%, 23.1%)
CIE-LABlab(72.45, -7.24, 58.90)
CIE-LCHlch(72.45, 59.34, 97.01°)
OKLaboklab(76.01% -0.0254 0.1322)
OKLCHoklch(76.01% 0.135 100.9)
XYZxyz(39.7840, 44.3366, 11.1639)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B33F #3F50C4
analogous
#C4703F #C4B33F #92C43F
triadic
#C4B33F #3FC4B3 #B33FC4
tetradic
#C4B33F #3FC470 #3F50C4 #C43F92
square
#C4B33F #3FC470 #3F50C4 #C43F92
split-complementary
#C4B33F #3F92C4 #703FC4
monochromatic
#685F20 #978A2E #C4B33F #D2C66E #E1D89D

Accessibility & contrast

On white

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

On black

9.87
#C4B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B33F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B33F#FFFFFF#000000##000000
##C4B33F1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4b33f;
/* rgb */ color: rgb(196, 179, 63);
/* oklch */ color: oklch(76.0% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d9c97a',
    500: '#c4b33f',
    950: '#000000',
  },
}
SCSS
$custom: #c4b33f;
$custom-light: #d9c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b33f",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 52.331,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76006,
    "c": 0.13461,
    "h": 100.9
  },
  "luminance": 0.44335
}

Semantic roles & 50–950 ramp

primary
#C4B33F
secondary
#9299CD
accent
#5EDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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