#C4B631#C4B631

#C4B631 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.5% C 0.146 H 103.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C4B631
RGBrgb(196, 182, 49)
HSLhsl(54, 60%, 48%)
HSVhsv(54, 75%, 77%)
CMYKcmyk(0%, 7.1%, 75%, 23.1%)
CIE-LABlab(73.16, -9.48, 64.83)
CIE-LCHlch(73.16, 65.52, 98.32°)
OKLaboklab(76.54% -0.0331 0.1422)
OKLCHoklch(76.54% 0.146 103.1)
XYZxyz(40.0491, 45.4151, 9.5616)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B631 #313FC4
analogous
#C46D31 #C4B631 #88C431
triadic
#C4B631 #31C4B6 #B631C4
tetradic
#C4B631 #31C46D #313FC4 #C43188
square
#C4B631 #31C46D #313FC4 #C43188
split-complementary
#C4B631 #3188C4 #6D31C4
monochromatic
#625B19 #938925 #C4B631 #D6CB5C #E2DA8D

Accessibility & contrast

On white

2.08
#C4B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C4B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B631
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B631#FFFFFF#000000##000000
##C4B6311.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B015
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#D3A99D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b631;
/* rgb */ color: rgb(196, 182, 49);
/* oklch */ color: oklch(76.5% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#dacb73',
    500: '#c4b631',
    950: '#000000',
  },
}
SCSS
$custom: #c4b631;
$custom-light: #dacb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b631",
  "rgb": {
    "r": 196,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 54.286,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76542,
    "c": 0.14605,
    "h": 103.1
  },
  "luminance": 0.45413
}

Semantic roles & 50–950 ramp

primary
#C4B631
secondary
#848BCD
accent
#54E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B631

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

Preview Lab → · Contrast checker → · Palette generator →

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