#468227#468227

#468227 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.139 H 136.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#468227
RGBrgb(70, 130, 39)
HSLhsl(100, 54%, 33%)
HSVhsv(100, 70%, 51%)
CMYKcmyk(46.2%, 0%, 70%, 49%)
CIE-LABlab(48.78, -36.48, 41.49)
CIE-LCHlch(48.78, 55.25, 131.32°)
OKLaboklab(54.62% -0.1011 0.0948)
OKLCHoklch(54.62% 0.139 136.8)
XYZxyz(10.8743, 17.4132, 4.7071)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468227 #632782
analogous
#738227 #468227 #278235
triadic
#468227 #274682 #822746
tetradic
#468227 #277382 #632782 #823527
square
#468227 #277382 #632782 #823527
split-complementary
#468227 #352782 #822773
monochromatic
#13240B #2D5319 #468227 #5FB135 #7FCD57

Accessibility & contrast

On white

4.68
#468227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#468227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #468227
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468227#FFFFFF#000000##FFFFFF
##4682271.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#437D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #468227;
/* rgb */ color: rgb(70, 130, 39);
/* oklch */ color: oklch(54.6% 0.139 136.8);
Tailwind
colors: {
  custom: {
    50: '#7fa766',
    500: '#468227',
    950: '#000000',
  },
}
SCSS
$custom: #468227;
$custom-light: #7fa766;
$custom-dark: #000000;
JSON
{
  "hex": "#468227",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 99.56,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.13857,
    "h": 136.8
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#468227
secondary
#9153B1
accent
#4BDDAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #468227

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

Preview Lab → · Contrast checker → · Palette generator →

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