#425018#425018

#425018 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.081 H 122.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#425018
RGBrgb(66, 80, 24)
HSLhsl(75, 54%, 20%)
HSVhsv(75, 70%, 31%)
CMYKcmyk(17.5%, 0%, 70%, 68.6%)
CIE-LABlab(31.72, -14.90, 30.13)
CIE-LCHlch(31.72, 33.61, 116.31°)
OKLaboklab(40.63% -0.0431 0.0688)
OKLCHoklch(40.63% 0.081 122.1)
XYZxyz(5.2804, 6.9615, 1.9295)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425018 #261850
analogous
#504218 #425018 #265018
triadic
#425018 #184250 #501842
tetradic
#425018 #185042 #261850 #501826
square
#425018 #185042 #261850 #501826
split-complementary
#425018 #182650 #421850
monochromatic
#131807 #1B210A #425018 #697F26 #90AE34

Accessibility & contrast

On white

8.78
#425018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#425018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425018
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425018#FFFFFF#000000##FFFFFF
##4250181.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#464C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #425018;
/* rgb */ color: rgb(66, 80, 24);
/* oklch */ color: oklch(40.6% 0.081 122.1);
Tailwind
colors: {
  custom: {
    50: '#788158',
    500: '#425018',
    950: '#000000',
  },
}
SCSS
$custom: #425018;
$custom-light: #788158;
$custom-dark: #000000;
JSON
{
  "hex": "#425018",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.08116,
    "h": 122.1
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#425018
secondary
#4F3D87
accent
#4BDD6F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #425018

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

Preview Lab → · Contrast checker → · Palette generator →

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