#458012#458012

#458012 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.149 H 134.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#458012
RGBrgb(69, 128, 18)
HSLhsl(92, 75%, 29%)
HSVhsv(92, 86%, 50%)
CMYKcmyk(46.1%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.94, -37.36, 48.12)
CIE-LCHlch(47.94, 60.92, 127.82°)
OKLaboklab(53.88% -0.1048 0.1055)
OKLCHoklch(53.88% 0.149 134.8)
XYZxyz(10.2824, 16.7466, 3.2628)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#458012 #4D1280
analogous
#7C8012 #458012 #128016
triadic
#458012 #124580 #801245
tetradic
#458012 #127C80 #4D1280 #801612
square
#458012 #127C80 #4D1280 #801612
split-complementary
#458012 #161280 #80127C
monochromatic
#0E1B04 #284A0A #458012 #62B61A #80E12B

Accessibility & contrast

On white

4.83
#458012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#458012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #458012
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##458012#FFFFFF#000000##FFFFFF
##4580121.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#447B6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #458012;
/* rgb */ color: rgb(69, 128, 18);
/* oklch */ color: oklch(53.9% 0.149 134.8);
Tailwind
colors: {
  custom: {
    50: '#7fa55c',
    500: '#458012',
    950: '#000000',
  },
}
SCSS
$custom: #458012;
$custom-light: #7fa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#458012",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 92.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.14872,
    "h": 134.8
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#458012
secondary
#7B38B6
accent
#36F29B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #458012

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

Preview Lab → · Contrast checker → · Palette generator →

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