#3A4C10#3A4C10

#3A4C10 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.8% C 0.086 H 125.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3A4C10
RGBrgb(58, 76, 16)
HSLhsl(78, 65%, 18%)
HSVhsv(78, 79%, 30%)
CMYKcmyk(23.7%, 0%, 78.9%, 70.2%)
CIE-LABlab(29.68, -17.04, 31.51)
CIE-LCHlch(29.68, 35.82, 118.41°)
OKLaboklab(38.8% -0.0493 0.0705)
OKLCHoklch(38.8% 0.086 125)
XYZxyz(4.4229, 6.1058, 1.4356)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C10 #22104C
analogous
#4C4010 #3A4C10 #1C4C10
triadic
#3A4C10 #103A4C #4C103A
tetradic
#3A4C10 #104C40 #22104C #4C101C
square
#3A4C10 #104C40 #22104C #4C101C
split-complementary
#3A4C10 #101C4C #40104C
monochromatic
#131905 #131905 #3A4C10 #617F1B #87B125

Accessibility & contrast

On white

9.45
#3A4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4C10
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4C10#FFFFFF#000000##FFFFFF
##3A4C101.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#3D4840
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a4c10;
/* rgb */ color: rgb(58, 76, 16);
/* oklch */ color: oklch(38.8% 0.086 125.0);
Tailwind
colors: {
  custom: {
    50: '#727e53',
    500: '#3a4c10',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c10;
$custom-light: #727e53;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c10",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 78,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38798,
    "c": 0.08604,
    "h": 125
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#3A4C10
secondary
#4B3286
accent
#40E872
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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