#46821A#46821A

#46821A is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.147 H 135.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#46821A
RGBrgb(70, 130, 26)
HSLhsl(95, 67%, 31%)
HSVhsv(95, 80%, 51%)
CMYKcmyk(46.2%, 0%, 80%, 49%)
CIE-LABlab(48.69, -37.44, 46.40)
CIE-LCHlch(48.69, 59.62, 128.90°)
OKLaboklab(54.52% -0.1046 0.1031)
OKLCHoklch(54.52% 0.147 135.4)
XYZxyz(10.6946, 17.3413, 3.7608)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46821A #561A82
analogous
#7A821A #46821A #1A8222
triadic
#46821A #1A4682 #821A46
tetradic
#46821A #1A7A82 #561A82 #82221A
square
#46821A #1A7A82 #561A82 #82221A
split-complementary
#46821A #221A82 #821A7A
monochromatic
#0F1C06 #2B4F10 #46821A #61B524 #7FD83E

Accessibility & contrast

On white

4.70
#46821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#46821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46821A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46821A#FFFFFF#000000##FFFFFF
##46821A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#447D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #46821a;
/* rgb */ color: rgb(70, 130, 26);
/* oklch */ color: oklch(54.5% 0.147 135.4);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#46821a',
    950: '#000000',
  },
}
SCSS
$custom: #46821a;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#46821a",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 94.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.1469,
    "h": 135.4
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#46821A
secondary
#8542B6
accent
#3EEAA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46821A

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

Preview Lab → · Contrast checker → · Palette generator →

#46821A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva