#457F12#457F12

#457F12 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.147 H 134.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#457F12
RGBrgb(69, 127, 18)
HSLhsl(92, 75%, 28%)
HSVhsv(92, 86%, 50%)
CMYKcmyk(45.7%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.61, -36.93, 47.82)
CIE-LCHlch(47.61, 60.42, 127.68°)
OKLaboklab(53.61% -0.1037 0.1049)
OKLCHoklch(53.61% 0.147 134.7)
XYZxyz(10.1526, 16.4870, 3.2195)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#457F12 #4C127F
analogous
#7B7F12 #457F12 #127F16
triadic
#457F12 #12457F #7F1245
tetradic
#457F12 #127B7F #4C127F #7F1612
square
#457F12 #127B7F #4C127F #7F1612
split-complementary
#457F12 #16127F #7F127B
monochromatic
#0F1B04 #28490A #457F12 #62B51A #80E12B

Accessibility & contrast

On white

4.89
#457F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#457F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #457F12
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##457F12#FFFFFF#000000##FFFFFF
##457F121.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#447A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #457f12;
/* rgb */ color: rgb(69, 127, 18);
/* oklch */ color: oklch(53.6% 0.147 134.7);
Tailwind
colors: {
  custom: {
    50: '#7fa45c',
    500: '#457f12',
    950: '#000000',
  },
}
SCSS
$custom: #457f12;
$custom-light: #7fa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#457f12",
  "rgb": {
    "r": 69,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 91.927,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.14748,
    "h": 134.7
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#457F12
secondary
#7A38B5
accent
#36F29A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #457F12

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

Preview Lab → · Contrast checker → · Palette generator →

#457F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva