#457212#457212

#457212 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.131 H 132.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#457212
RGBrgb(69, 114, 18)
HSLhsl(88, 73%, 26%)
HSVhsv(88, 84%, 45%)
CMYKcmyk(39.5%, 0%, 84.2%, 55.3%)
CIE-LABlab(43.28, -31.20, 43.91)
CIE-LCHlch(43.28, 53.87, 125.39°)
OKLaboklab(50.06% -0.0883 0.0966)
OKLCHoklch(50.06% 0.131 132.4)
XYZxyz(8.5806, 13.3431, 2.6955)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#457212 #3F1272
analogous
#726F12 #457212 #157212
triadic
#457212 #124572 #721245
tetradic
#457212 #12726F #3F1272 #721215
square
#457212 #12726F #3F1272 #721215
split-complementary
#457212 #121572 #6F1272
monochromatic
#101A04 #253D0A #457212 #65A71A #85DC23

Accessibility & contrast

On white

5.72
#457212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#457212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #457212
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##457212#FFFFFF#000000##FFFFFF
##4572121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #457212;
/* rgb */ color: rgb(69, 114, 18);
/* oklch */ color: oklch(50.1% 0.131 132.4);
Tailwind
colors: {
  custom: {
    50: '#7d9b5a',
    500: '#457212',
    950: '#000000',
  },
}
SCSS
$custom: #457212;
$custom-light: #7d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#457212",
  "rgb": {
    "r": 69,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 88.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.13089,
    "h": 132.4
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#457212
secondary
#6C37A9
accent
#38EF8E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #457212

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

Preview Lab → · Contrast checker → · Palette generator →

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