#467212#467212

#467212 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.130 H 132.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#467212
RGBrgb(70, 114, 18)
HSLhsl(88, 73%, 26%)
HSVhsv(88, 84%, 45%)
CMYKcmyk(38.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(43.33, -30.81, 43.98)
CIE-LCHlch(43.33, 53.70, 125.01°)
OKLaboklab(50.11% -0.0873 0.0968)
OKLCHoklch(50.11% 0.13 132.1)
XYZxyz(8.6522, 13.3800, 2.6989)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#467212 #3E1272
analogous
#726E12 #467212 #167212
triadic
#467212 #124672 #721246
tetradic
#467212 #12726E #3E1272 #721216
square
#467212 #12726E #3E1272 #721216
split-complementary
#467212 #121672 #6E1272
monochromatic
#101A04 #263D0A #467212 #66A71A #87DC23

Accessibility & contrast

On white

5.71
#467212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#467212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #467212
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##467212#FFFFFF#000000##FFFFFF
##4672121.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#476D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #467212;
/* rgb */ color: rgb(70, 114, 18);
/* oklch */ color: oklch(50.1% 0.130 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e9b5a',
    500: '#467212',
    950: '#000000',
  },
}
SCSS
$custom: #467212;
$custom-light: #7e9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#467212",
  "rgb": {
    "r": 70,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 87.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.13033,
    "h": 132.1
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#467212
secondary
#6B37A9
accent
#38EF8C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #467212

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

Preview Lab → · Contrast checker → · Palette generator →

#467212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva