#4B5F0F#4B5F0F

#4B5F0F is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.104 H 123.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4B5F0F
RGBrgb(75, 95, 15)
HSLhsl(75, 73%, 22%)
HSVhsv(75, 84%, 37%)
CMYKcmyk(21.1%, 0%, 84.2%, 62.7%)
CIE-LABlab(37.33, -19.47, 39.58)
CIE-LCHlch(37.33, 44.11, 116.19°)
OKLaboklab(45.31% -0.0571 0.0868)
OKLCHoklch(45.31% 0.104 123.4)
XYZxyz(7.0802, 9.7147, 1.9540)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5F0F #230F5F
analogous
#5F4B0F #4B5F0F #235F0F
triadic
#4B5F0F #0F4B5F #5F0F4B
tetradic
#4B5F0F #0F5F4B #230F5F #5F0F23
square
#4B5F0F #0F5F4B #230F5F #5F0F23
split-complementary
#4B5F0F #0F235F #4B0F5F
monochromatic
#151A04 #212A07 #4B5F0F #759417 #9EC920

Accessibility & contrast

On white

7.14
#4B5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4B5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5F0F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5F0F#FFFFFF#000000##FFFFFF
##4B5F0F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625817
Tritanopia (blue-blind)
#4F5A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b5f0f;
/* rgb */ color: rgb(75, 95, 15);
/* oklch */ color: oklch(45.3% 0.104 123.4);
Tailwind
colors: {
  custom: {
    50: '#808c56',
    500: '#4b5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4b5f0f;
$custom-light: #808c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5f0f",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.10392,
    "h": 123.4
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#4B5F0F
secondary
#4B3298
accent
#38EF66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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