#C4B733#C4B733

#C4B733 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.146 H 103.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#C4B733
RGBrgb(196, 183, 51)
HSLhsl(55, 59%, 48%)
HSVhsv(55, 74%, 77%)
CMYKcmyk(0%, 6.6%, 74%, 23.1%)
CIE-LABlab(73.44, -9.91, 64.41)
CIE-LCHlch(73.44, 65.17, 98.75°)
OKLaboklab(76.77% -0.0342 0.1417)
OKLCHoklch(76.77% 0.146 103.6)
XYZxyz(40.2978, 45.8434, 9.8573)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B733 #3340C4
analogous
#C46F33 #C4B733 #88C433
triadic
#C4B733 #33C4B7 #B733C4
tetradic
#C4B733 #33C46F #3340C4 #C43388
square
#C4B733 #33C46F #3340C4 #C43388
split-complementary
#C4B733 #3388C4 #6F33C4
monochromatic
#635C1A #938A26 #C4B733 #D5CB5F #E2DB8F

Accessibility & contrast

On white

2.07
#C4B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#C4B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B733
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B733#FFFFFF#000000##000000
##C4B7331.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B119
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#D3AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b733;
/* rgb */ color: rgb(196, 183, 51);
/* oklch */ color: oklch(76.8% 0.146 103.6);
Tailwind
colors: {
  custom: {
    50: '#dacc74',
    500: '#c4b733',
    950: '#000000',
  },
}
SCSS
$custom: #c4b733;
$custom-light: #dacc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b733",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 54.621,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.14577,
    "h": 103.6
  },
  "luminance": 0.45842
}

Semantic roles & 50–950 ramp

primary
#C4B733
secondary
#868DCD
accent
#54E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B733

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

Preview Lab → · Contrast checker → · Palette generator →

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