#4A5310#4A5310

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

Color values

HEX#4A5310
RGBrgb(74, 83, 16)
HSLhsl(68, 68%, 19%)
HSVhsv(68, 81%, 33%)
CMYKcmyk(10.8%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.31, -13.32, 35.46)
CIE-LCHlch(33.31, 37.88, 110.59°)
OKLaboklab(42.05% -0.0401 0.0783)
OKLCHoklch(42.05% 0.088 117.1)
XYZxyz(6.0110, 7.6798, 1.6558)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5310 #191053
analogous
#533B10 #4A5310 #295310
triadic
#4A5310 #104A53 #53104A
tetradic
#4A5310 #10533B #191053 #531029
square
#4A5310 #10533B #191053 #531029
split-complementary
#4A5310 #102953 #3B1053
monochromatic
#171A05 #1C2006 #4A5310 #78861A #A5BA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5310#FFFFFF#000000##FFFFFF
##4A53101.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)
#594E03
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#4F4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5310;
/* rgb */ color: rgb(74, 83, 16);
/* oklch */ color: oklch(42.0% 0.088 117.1);
Tailwind
colors: {
  custom: {
    50: '#7f8354',
    500: '#4a5310',
    950: '#000000',
  },
}
SCSS
$custom: #4a5310;
$custom-light: #7f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5310",
  "rgb": {
    "r": 74,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 68.06,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.08799,
    "h": 117.1
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#4A5310
secondary
#3E328D
accent
#3DEB55
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5310

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

Preview Lab → · Contrast checker → · Palette generator →

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