#4A4E07#4A4E07

#4A4E07 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.087 H 113.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4A4E07
RGBrgb(74, 78, 7)
HSLhsl(63, 84%, 17%)
HSVhsv(63, 91%, 31%)
CMYKcmyk(5.1%, 0%, 91%, 69.4%)
CIE-LABlab(31.62, -10.87, 37.08)
CIE-LCHlch(31.62, 38.64, 106.33°)
OKLaboklab(40.68% -0.0341 0.0799)
OKLCHoklch(40.68% 0.087 113.1)
XYZxyz(5.5870, 6.9201, 1.2424)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E07 #0B074E
analogous
#4E2F07 #4A4E07 #274E07
triadic
#4A4E07 #074A4E #4E074A
tetradic
#4A4E07 #074E2F #0B074E #4E0727
square
#4A4E07 #074E2F #0B074E #4E0727
split-complementary
#4A4E07 #07274E #2F074E
monochromatic
#1B1C03 #1B1C03 #4A4E07 #7F860C #B5BE11

Accessibility & contrast

On white

8.81
#4A4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E07
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E07#FFFFFF#000000##FFFFFF
##4A4E071.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4e07;
/* rgb */ color: rgb(74, 78, 7);
/* oklch */ color: oklch(40.7% 0.087 113.1);
Tailwind
colors: {
  custom: {
    50: '#7f7f4f',
    500: '#4a4e07',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e07;
$custom-light: #7f7f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e07",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 63.38,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.0869,
    "h": 113.1
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#4A4E07
secondary
#2B258C
accent
#2EFA39
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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