#418E0F#418E0F

#418E0F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.169 H 137.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#418E0F
RGBrgb(65, 142, 15)
HSLhsl(96, 81%, 31%)
HSVhsv(96, 89%, 56%)
CMYKcmyk(54.2%, 0%, 89.4%, 44.3%)
CIE-LABlab(52.40, -44.43, 52.69)
CIE-LCHlch(52.40, 68.92, 130.14°)
OKLaboklab(57.5% -0.1236 0.1149)
OKLCHoklch(57.5% 0.169 137.1)
XYZxyz(11.9388, 20.5034, 3.7803)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418E0F #5C0F8E
analogous
#808E0F #418E0F #0F8E1C
triadic
#418E0F #0F418E #8E0F41
tetradic
#418E0F #0F808E #5C0F8E #8E1C0F
square
#418E0F #0F808E #5C0F8E #8E1C0F
split-complementary
#418E0F #1C0F8E #8E0F80
monochromatic
#0E1F03 #285709 #418E0F #5AC515 #78E92E

Accessibility & contrast

On white

4.12
#418E0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#418E0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418E0F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418E0F#FFFFFF#000000##000000
##418E0F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#3C8978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #418e0f;
/* rgb */ color: rgb(65, 142, 15);
/* oklch */ color: oklch(57.5% 0.169 137.1);
Tailwind
colors: {
  custom: {
    50: '#7fb05d',
    500: '#418e0f',
    950: '#000000',
  },
}
SCSS
$custom: #418e0f;
$custom-light: #7fb05d;
$custom-dark: #000000;
JSON
{
  "hex": "#418e0f",
  "rgb": {
    "r": 65,
    "g": 142,
    "b": 15
  },
  "hsl": {
    "h": 96.378,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.16872,
    "h": 137.1
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#418E0F
secondary
#8B36C3
accent
#31F7A9
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418E0F

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

Preview Lab → · Contrast checker → · Palette generator →

#418E0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva