#425212#425212

#425212 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.1% C 0.089 H 122.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#425212
RGBrgb(66, 82, 18)
HSLhsl(75, 64%, 20%)
HSVhsv(75, 78%, 32%)
CMYKcmyk(19.5%, 0%, 78%, 67.8%)
CIE-LABlab(32.34, -16.46, 33.49)
CIE-LCHlch(32.34, 37.32, 116.17°)
OKLaboklab(41.11% -0.048 0.0748)
OKLCHoklch(41.11% 0.089 122.7)
XYZxyz(5.3733, 7.2365, 1.6859)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425212 #221252
analogous
#524212 #425212 #225212
triadic
#425212 #124252 #521242
tetradic
#425212 #125242 #221252 #521222
square
#425212 #125242 #221252 #521222
split-complementary
#425212 #122252 #421252
monochromatic
#141906 #1A2007 #425212 #6A841D #93B628

Accessibility & contrast

On white

8.58
#425212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#425212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425212
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425212#FFFFFF#000000##FFFFFF
##4252121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#464D46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #425212;
/* rgb */ color: rgb(66, 82, 18);
/* oklch */ color: oklch(41.1% 0.089 122.7);
Tailwind
colors: {
  custom: {
    50: '#798255',
    500: '#425212',
    950: '#000000',
  },
}
SCSS
$custom: #425212;
$custom-light: #798255;
$custom-dark: #000000;
JSON
{
  "hex": "#425212",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.08891,
    "h": 122.7
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#425212
secondary
#4A358B
accent
#41E76A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #425212

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

Preview Lab → · Contrast checker → · Palette generator →

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