#418B1B#418B1B

#418B1B is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.7% C 0.160 H 137.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#418B1B
RGBrgb(65, 139, 27)
HSLhsl(100, 67%, 33%)
HSVhsv(100, 81%, 55%)
CMYKcmyk(53.2%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.46, -42.69, 48.62)
CIE-LCHlch(51.46, 64.70, 131.28°)
OKLaboklab(56.74% -0.1183 0.108)
OKLCHoklch(56.74% 0.16 137.6)
XYZxyz(11.6100, 19.6673, 4.2211)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418B1B #651B8B
analogous
#798B1B #418B1B #1B8B2D
triadic
#418B1B #1B418B #8B1B41
tetradic
#418B1B #1B798B #651B8B #8B2D1B
square
#418B1B #1B798B #651B8B #8B2D1B
split-complementary
#418B1B #2D1B8B #8B1B79
monochromatic
#112507 #295811 #418B1B #59BE25 #78DB45

Accessibility & contrast

On white

4.26
#418B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#418B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418B1B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418B1B#FFFFFF#000000##000000
##418B1B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#3C8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418b1b;
/* rgb */ color: rgb(65, 139, 27);
/* oklch */ color: oklch(56.7% 0.160 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ead61',
    500: '#418b1b',
    950: '#000000',
  },
}
SCSS
$custom: #418b1b;
$custom-light: #7ead61;
$custom-dark: #000000;
JSON
{
  "hex": "#418b1b",
  "rgb": {
    "r": 65,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 99.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.1602,
    "h": 137.6
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#418B1B
secondary
#9445BC
accent
#3DEAB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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