#4B5312#4B5312

#4B5312 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.086 H 116.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4B5312
RGBrgb(75, 83, 18)
HSLhsl(67, 64%, 20%)
HSVhsv(67, 78%, 33%)
CMYKcmyk(9.6%, 0%, 78.3%, 67.5%)
CIE-LABlab(33.41, -12.72, 34.79)
CIE-LCHlch(33.41, 37.04, 110.09°)
OKLaboklab(42.16% -0.0383 0.0773)
OKLCHoklch(42.16% 0.086 116.4)
XYZxyz(6.1042, 7.7261, 1.7419)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5312 #1A1253
analogous
#533B12 #4B5312 #2A5312
triadic
#4B5312 #124B53 #53124B
tetradic
#4B5312 #12533B #1A1253 #53122A
square
#4B5312 #12533B #1A1253 #53122A
split-complementary
#4B5312 #122A53 #3B1253
monochromatic
#171905 #1E2107 #4B5312 #78851D #A6B828

Accessibility & contrast

On white

8.25
#4B5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4B5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5312
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5312#FFFFFF#000000##FFFFFF
##4B53121.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#504E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b5312;
/* rgb */ color: rgb(75, 83, 18);
/* oklch */ color: oklch(42.2% 0.086 116.4);
Tailwind
colors: {
  custom: {
    50: '#808355',
    500: '#4b5312',
    950: '#000000',
  },
}
SCSS
$custom: #4b5312;
$custom-light: #808355;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5312",
  "rgb": {
    "r": 75,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 67.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.08624,
    "h": 116.4
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#4B5312
secondary
#40358C
accent
#40E755
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5312

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

Preview Lab → · Contrast checker → · Palette generator →

#4B5312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva