#46740F#46740F

#46740F is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.134 H 132.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#46740F
RGBrgb(70, 116, 15)
HSLhsl(87, 77%, 26%)
HSVhsv(87, 87%, 45%)
CMYKcmyk(39.7%, 0%, 87.1%, 54.5%)
CIE-LABlab(43.98, -31.87, 45.43)
CIE-LCHlch(43.98, 55.49, 125.05°)
OKLaboklab(50.65% -0.0903 0.0993)
OKLCHoklch(50.65% 0.134 132.3)
XYZxyz(8.8573, 13.8270, 2.6540)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46740F #3D0F74
analogous
#746F0F #46740F #13740F
triadic
#46740F #0F4674 #740F46
tetradic
#46740F #0F746F #3D0F74 #740F13
square
#46740F #0F746F #3D0F74 #740F13
split-complementary
#46740F #0F1374 #6F0F74
monochromatic
#101B04 #253E08 #46740F #67AA16 #87E01D

Accessibility & contrast

On white

5.58
#46740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#46740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46740F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46740F#FFFFFF#000000##FFFFFF
##46740F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#476F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #46740f;
/* rgb */ color: rgb(70, 116, 15);
/* oklch */ color: oklch(50.6% 0.134 132.3);
Tailwind
colors: {
  custom: {
    50: '#7e9c59',
    500: '#46740f',
    950: '#000000',
  },
}
SCSS
$custom: #46740f;
$custom-light: #7e9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#46740f",
  "rgb": {
    "r": 70,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 87.327,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.13427,
    "h": 132.3
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#46740F
secondary
#6A33AC
accent
#34F48B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #46740F

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

Preview Lab → · Contrast checker → · Palette generator →

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