#46540F#46540F

#46540F is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.0% C 0.092 H 120.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#46540F
RGBrgb(70, 84, 15)
HSLhsl(72, 70%, 19%)
HSVhsv(72, 82%, 33%)
CMYKcmyk(16.7%, 0%, 82.1%, 67.1%)
CIE-LABlab(33.30, -15.86, 35.72)
CIE-LCHlch(33.30, 39.08, 113.94°)
OKLaboklab(41.96% -0.0469 0.0788)
OKLCHoklch(41.96% 0.092 120.8)
XYZxyz(5.7824, 7.6772, 1.6291)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46540F #1D0F54
analogous
#54400F #46540F #24540F
triadic
#46540F #0F4654 #540F46
tetradic
#46540F #0F5440 #1D0F54 #540F24
square
#46540F #0F5440 #1D0F54 #540F24
split-complementary
#46540F #0F2454 #400F54
monochromatic
#161A05 #1B2006 #46540F #718818 #9DBC22

Accessibility & contrast

On white

8.28
#46540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#46540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46540F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46540F#FFFFFF#000000##FFFFFF
##46540F1.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)
#5A4F02
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#4A4F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #46540f;
/* rgb */ color: rgb(70, 84, 15);
/* oklch */ color: oklch(42.0% 0.092 120.8);
Tailwind
colors: {
  custom: {
    50: '#7c8454',
    500: '#46540f',
    950: '#000000',
  },
}
SCSS
$custom: #46540f;
$custom-light: #7c8454;
$custom-dark: #000000;
JSON
{
  "hex": "#46540f",
  "rgb": {
    "r": 70,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 72.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.09172,
    "h": 120.8
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#46540F
secondary
#44318E
accent
#3BED5F
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #46540F

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

Preview Lab → · Contrast checker → · Palette generator →

#46540F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva