#4A4E03#4A4E03

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

Color values

HEX#4A4E03
RGBrgb(74, 78, 3)
HSLhsl(63, 93%, 16%)
HSVhsv(63, 96%, 31%)
CMYKcmyk(5.1%, 0%, 96.2%, 69.4%)
CIE-LABlab(31.60, -11.04, 38.49)
CIE-LCHlch(31.60, 40.04, 106.00°)
OKLaboklab(40.66% -0.035 0.0819)
OKLCHoklch(40.66% 0.089 113.1)
XYZxyz(5.5651, 6.9113, 1.1270)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E03 #07034E
analogous
#4E2C03 #4A4E03 #244E03
triadic
#4A4E03 #034A4E #4E034A
tetradic
#4A4E03 #034E2C #07034E #4E0324
square
#4A4E03 #034E2C #07034E #4E0324
split-complementary
#4A4E03 #03244E #2C034E
monochromatic
#1C1D01 #1C1D01 #4A4E03 #828905 #BAC408

Accessibility & contrast

On white

8.82
#4A4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4E03
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E03#FFFFFF#000000##FFFFFF
##4A4E031.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4e03;
/* rgb */ color: rgb(74, 78, 3);
/* oklch */ color: oklch(40.7% 0.089 113.1);
Tailwind
colors: {
  custom: {
    50: '#807f4e',
    500: '#4a4e03',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e03;
$custom-light: #807f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e03",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 63.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.08907,
    "h": 113.1
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#4A4E03
secondary
#241E8E
accent
#29FF34
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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