#C4B937#C4B937

#C4B937 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.2% C 0.145 H 104.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C4B937
RGBrgb(196, 185, 55)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 72%, 77%)
CMYKcmyk(0%, 5.6%, 71.9%, 23.1%)
CIE-LABlab(74.00, -10.76, 63.52)
CIE-LCHlch(74.00, 64.43, 99.61°)
OKLaboklab(77.22% -0.0361 0.1406)
OKLCHoklch(77.22% 0.145 104.4)
XYZxyz(40.8052, 46.7111, 10.4804)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B937 #3742C4
analogous
#C47337 #C4B937 #89C437
triadic
#C4B937 #37C4B9 #B937C4
tetradic
#C4B937 #37C473 #3742C4 #C43789
square
#C4B937 #37C473 #3742C4 #C43789
split-complementary
#C4B937 #3789C4 #7337C4
monochromatic
#645F1C #948C2A #C4B937 #D4CB65 #E1DB94

Accessibility & contrast

On white

2.03
#C4B937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C4B937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B937
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B937#FFFFFF#000000##000000
##C4B9371.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B320
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#D3ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b937;
/* rgb */ color: rgb(196, 185, 55);
/* oklch */ color: oklch(77.2% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#dacd77',
    500: '#c4b937',
    950: '#000000',
  },
}
SCSS
$custom: #c4b937;
$custom-light: #dacd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b937",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 55.319,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77222,
    "c": 0.14514,
    "h": 104.4
  },
  "luminance": 0.4671
}

Semantic roles & 50–950 ramp

primary
#C4B937
secondary
#8B90CC
accent
#54DF48
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B937

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

Preview Lab → · Contrast checker → · Palette generator →

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