#4A5311#4A5311

#4A5311 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.087 H 117.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4A5311
RGBrgb(74, 83, 17)
HSLhsl(68, 66%, 20%)
HSVhsv(68, 80%, 33%)
CMYKcmyk(10.8%, 0%, 79.5%, 67.5%)
CIE-LABlab(33.31, -13.27, 35.07)
CIE-LCHlch(33.31, 37.50, 110.72°)
OKLaboklab(42.06% -0.0399 0.0777)
OKLCHoklch(42.06% 0.087 117.2)
XYZxyz(6.0186, 7.6829, 1.6961)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5311 #1A1153
analogous
#533B11 #4A5311 #295311
triadic
#4A5311 #114A53 #53114A
tetradic
#4A5311 #11533B #1A1153 #531129
square
#4A5311 #11533B #1A1153 #531129
split-complementary
#4A5311 #112953 #3B1153
monochromatic
#171905 #1D2007 #4A5311 #77861B #A5B926

Accessibility & contrast

On white

8.28
#4A5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4A5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5311
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5311#FFFFFF#000000##FFFFFF
##4A53111.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#4F4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5311;
/* rgb */ color: rgb(74, 83, 17);
/* oklch */ color: oklch(42.1% 0.087 117.2);
Tailwind
colors: {
  custom: {
    50: '#7f8355',
    500: '#4a5311',
    950: '#000000',
  },
}
SCSS
$custom: #4a5311;
$custom-light: #7f8355;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5311",
  "rgb": {
    "r": 74,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 68.182,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.08733,
    "h": 117.2
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#4A5311
secondary
#40348C
accent
#3FE956
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5311

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

Preview Lab → · Contrast checker → · Palette generator →

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