#457828#457828

#457828 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.124 H 136.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#457828
RGBrgb(69, 120, 40)
HSLhsl(98, 50%, 31%)
HSVhsv(98, 67%, 47%)
CMYKcmyk(42.5%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.43, -32.30, 37.44)
CIE-LCHlch(45.43, 49.45, 130.79°)
OKLaboklab(51.87% -0.0896 0.0864)
OKLCHoklch(51.87% 0.124 136)
XYZxyz(9.5535, 14.8508, 4.3702)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#457828 #5B2878
analogous
#6D7828 #457828 #287833
triadic
#457828 #284578 #782845
tetradic
#457828 #286D78 #5B2878 #783328
square
#457828 #286D78 #5B2878 #783328
split-complementary
#457828 #332878 #78286D
monochromatic
#101C09 #2B4A19 #457828 #5FA637 #7EC654

Accessibility & contrast

On white

5.29
#457828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#457828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #457828
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##457828#FFFFFF#000000##FFFFFF
##4578281.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#437467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #457828;
/* rgb */ color: rgb(69, 120, 40);
/* oklch */ color: oklch(51.9% 0.124 136.0);
Tailwind
colors: {
  custom: {
    50: '#7d9f66',
    500: '#457828',
    950: '#000000',
  },
}
SCSS
$custom: #457828;
$custom-light: #7d9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#457828",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 98.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51867,
    "c": 0.12446,
    "h": 136
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#457828
secondary
#8A52AA
accent
#4EDAA7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #457828

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

Preview Lab → · Contrast checker → · Palette generator →

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