#425F12#425F12

#425F12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.7% C 0.107 H 128.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#425F12
RGBrgb(66, 95, 18)
HSLhsl(83, 68%, 22%)
HSVhsv(83, 81%, 37%)
CMYKcmyk(30.5%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.72, -23.31, 37.74)
CIE-LCHlch(36.72, 44.35, 121.70°)
OKLaboklab(44.66% -0.0667 0.0837)
OKLCHoklch(44.66% 0.107 128.6)
XYZxyz(6.4482, 9.3862, 2.0441)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425F12 #2F125F
analogous
#5F5612 #425F12 #1C5F12
triadic
#425F12 #12425F #5F1242
tetradic
#425F12 #125F56 #2F125F #5F121C
square
#425F12 #125F56 #2F125F #5F121C
split-complementary
#425F12 #121C5F #56125F
monochromatic
#121A05 #1E2C08 #425F12 #66921C #89C625

Accessibility & contrast

On white

7.30
#425F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#425F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425F12
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425F12#FFFFFF#000000##FFFFFF
##425F121.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#445A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #425f12;
/* rgb */ color: rgb(66, 95, 18);
/* oklch */ color: oklch(44.7% 0.107 128.6);
Tailwind
colors: {
  custom: {
    50: '#798c57',
    500: '#425f12',
    950: '#000000',
  },
}
SCSS
$custom: #425f12;
$custom-light: #798c57;
$custom-dark: #000000;
JSON
{
  "hex": "#425f12",
  "rgb": {
    "r": 66,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 82.597,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44659,
    "c": 0.10708,
    "h": 128.6
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#425F12
secondary
#5A3697
accent
#3DEB7E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #425F12

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

Preview Lab → · Contrast checker → · Palette generator →

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