#458018#458018

#458018 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.146 H 135.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#458018
RGBrgb(69, 128, 24)
HSLhsl(94, 68%, 30%)
HSVhsv(94, 81%, 50%)
CMYKcmyk(46.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.97, -37.05, 46.36)
CIE-LCHlch(47.97, 59.35, 128.63°)
OKLaboklab(53.91% -0.1036 0.1028)
OKLCHoklch(53.91% 0.146 135.2)
XYZxyz(10.3380, 16.7689, 3.5560)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#458018 #531880
analogous
#798018 #458018 #18801F
triadic
#458018 #184580 #801845
tetradic
#458018 #187980 #531880 #801F18
square
#458018 #187980 #531880 #801F18
split-complementary
#458018 #1F1880 #801879
monochromatic
#0E1A05 #294C0E #458018 #61B422 #7EDA39

Accessibility & contrast

On white

4.82
#458018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #458018
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##458018#FFFFFF#000000##FFFFFF
##4580181.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#437B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #458018;
/* rgb */ color: rgb(69, 128, 24);
/* oklch */ color: oklch(53.9% 0.146 135.2);
Tailwind
colors: {
  custom: {
    50: '#7fa55e',
    500: '#458018',
    950: '#000000',
  },
}
SCSS
$custom: #458018;
$custom-light: #7fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#458018",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 94.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.14593,
    "h": 135.2
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#458018
secondary
#8240B4
accent
#3DEBA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #458018

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

Preview Lab → · Contrast checker → · Palette generator →

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