#46821B#46821B

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

Color values

HEX#46821B
RGBrgb(70, 130, 27)
HSLhsl(95, 66%, 31%)
HSVhsv(95, 79%, 51%)
CMYKcmyk(46.2%, 0%, 79.2%, 49%)
CIE-LABlab(48.69, -37.38, 46.06)
CIE-LCHlch(48.69, 59.32, 129.06°)
OKLaboklab(54.52% -0.1044 0.1026)
OKLCHoklch(54.52% 0.146 135.5)
XYZxyz(10.7060, 17.3458, 3.8207)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46821B #571B82
analogous
#79821B #46821B #1B8223
triadic
#46821B #1B4682 #821B46
tetradic
#46821B #1B7982 #571B82 #82231B
square
#46821B #1B7982 #571B82 #82231B
split-complementary
#46821B #231B82 #821B79
monochromatic
#0F1D06 #2B4F10 #46821B #61B526 #7FD740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##46821B#FFFFFF#000000##FFFFFF
##46821B1.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)
#877702
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#447D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #46821b;
/* rgb */ color: rgb(70, 130, 27);
/* oklch */ color: oklch(54.5% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa760',
    500: '#46821b',
    950: '#000000',
  },
}
SCSS
$custom: #46821b;
$custom-light: #7fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#46821b",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 94.951,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.14635,
    "h": 135.5
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#46821B
secondary
#8643B6
accent
#3FE9A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46821B

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

Preview Lab → · Contrast checker → · Palette generator →

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