#3A4E23#3A4E23

#3A4E23 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.071 H 129.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3A4E23
RGBrgb(58, 78, 35)
HSLhsl(88, 38%, 22%)
HSVhsv(88, 55%, 31%)
CMYKcmyk(25.6%, 0%, 55.1%, 69.4%)
CIE-LABlab(30.57, -16.26, 22.79)
CIE-LCHlch(30.57, 28.00, 125.50°)
OKLaboklab(39.58% -0.0452 0.0545)
OKLCHoklch(39.58% 0.071 129.7)
XYZxyz(4.7726, 6.4696, 2.5871)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E23 #37234E
analogous
#4E4D23 #3A4E23 #254E23
triadic
#3A4E23 #233A4E #4E233A
tetradic
#3A4E23 #234E4D #37234E #4E2325
square
#3A4E23 #234E4D #37234E #4E2325
split-complementary
#3A4E23 #23254E #4D234E
monochromatic
#101509 #1B2410 #3A4E23 #597836 #79A249

Accessibility & contrast

On white

9.15
#3A4E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A4E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E23
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E23#FFFFFF#000000##FFFFFF
##3A4E231.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51491F
Deuteranopia (green-blind)
#4F4726
Tritanopia (blue-blind)
#3B4B44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e23;
/* rgb */ color: rgb(58, 78, 35);
/* oklch */ color: oklch(39.6% 0.071 129.7);
Tailwind
colors: {
  custom: {
    50: '#717f5f',
    500: '#3a4e23',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e23;
$custom-light: #717f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e23",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 35
  },
  "hsl": {
    "h": 87.907,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.07078,
    "h": 129.7
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#3A4E23
secondary
#644B82
accent
#5ACE90
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A4E23

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva