#C4A233#C4A233

#C4A233 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.4% C 0.130 H 91.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C4A233
RGBrgb(196, 162, 51)
HSLhsl(46, 59%, 48%)
HSVhsv(46, 74%, 77%)
CMYKcmyk(0%, 17.3%, 74%, 23.1%)
CIE-LABlab(67.89, 1.14, 59.09)
CIE-LCHlch(67.89, 59.10, 88.90°)
OKLaboklab(72.36% -0.0028 0.1304)
OKLCHoklch(72.36% 0.13 91.2)
XYZxyz(36.2849, 37.8177, 8.5197)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A233 #3355C4
analogous
#C45933 #C4A233 #9DC433
triadic
#C4A233 #33C4A2 #A233C4
tetradic
#C4A233 #33C459 #3355C4 #C4339D
square
#C4A233 #33C459 #3355C4 #C4339D
split-complementary
#C4A233 #339DC4 #5933C4
monochromatic
#63521A #937A26 #C4A233 #D5BA5F #E2CF8F

Accessibility & contrast

On white

2.45
#C4A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C4A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A233
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A233#FFFFFF#000000##000000
##C4A2331.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#BDA939
Tritanopia (blue-blind)
#D4948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a233;
/* rgb */ color: rgb(196, 162, 51);
/* oklch */ color: oklch(72.4% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#dabd72',
    500: '#c4a233',
    950: '#000000',
  },
}
SCSS
$custom: #c4a233;
$custom-light: #dabd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a233",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 45.931,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.13045,
    "h": 91.2
  },
  "luminance": 0.37815
}

Semantic roles & 50–950 ramp

primary
#C4A233
secondary
#8697CD
accent
#6AE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C4A233

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

Preview Lab → · Contrast checker → · Palette generator →

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