#4B4E07#4B4E07

#4B4E07 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.087 H 112.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4B4E07
RGBrgb(75, 78, 7)
HSLhsl(63, 84%, 17%)
HSVhsv(63, 91%, 31%)
CMYKcmyk(3.8%, 0%, 91%, 69.4%)
CIE-LABlab(31.72, -10.37, 37.20)
CIE-LCHlch(31.72, 38.62, 105.57°)
OKLaboklab(40.78% -0.0328 0.0801)
OKLCHoklch(40.78% 0.087 112.3)
XYZxyz(5.6646, 6.9601, 1.2460)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E07 #0A074E
analogous
#4E2E07 #4B4E07 #284E07
triadic
#4B4E07 #074B4E #4E074B
tetradic
#4B4E07 #074E2E #0A074E #4E0728
square
#4B4E07 #074E2E #0A074E #4E0728
split-complementary
#4B4E07 #07284E #2E074E
monochromatic
#1B1C03 #1B1C03 #4B4E07 #81860C #B7BE11

Accessibility & contrast

On white

8.78
#4B4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4B4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E07
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E07#FFFFFF#000000##FFFFFF
##4B4E071.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#514841
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4e07;
/* rgb */ color: rgb(75, 78, 7);
/* oklch */ color: oklch(40.8% 0.087 112.3);
Tailwind
colors: {
  custom: {
    50: '#807f4f',
    500: '#4b4e07',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e07;
$custom-light: #807f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e07",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 62.535,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.08656,
    "h": 112.3
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#4B4E07
secondary
#29258C
accent
#2EFA37
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4B4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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