#3A4B0C#3A4B0C

#3A4B0C is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.087 H 124.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4B0C
RGBrgb(58, 75, 12)
HSLhsl(76, 72%, 17%)
HSVhsv(76, 84%, 29%)
CMYKcmyk(22.7%, 0%, 84%, 70.6%)
CIE-LABlab(29.31, -16.75, 32.76)
CIE-LCHlch(29.31, 36.79, 117.08°)
OKLaboklab(38.49% -0.0489 0.0724)
OKLCHoklch(38.49% 0.087 124)
XYZxyz(4.3274, 5.9582, 1.2698)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4B0C #1D0C4B
analogous
#4B3D0C #3A4B0C #1B4B0C
triadic
#3A4B0C #0C3A4B #4B0C3A
tetradic
#3A4B0C #0C4B3D #1D0C4B #4B0C1B
square
#3A4B0C #0C4B3D #1D0C4B #4B0C1B
split-complementary
#3A4B0C #0C1B4B #3D0C4B
monochromatic
#141A04 #141A04 #3A4B0C #638014 #8CB51D

Accessibility & contrast

On white

9.58
#3A4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4B0C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4B0C#FFFFFF#000000##FFFFFF
##3A4B0C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4E4512
Tritanopia (blue-blind)
#3D473F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4b0c;
/* rgb */ color: rgb(58, 75, 12);
/* oklch */ color: oklch(38.5% 0.087 124.0);
Tailwind
colors: {
  custom: {
    50: '#737d51',
    500: '#3a4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4b0c;
$custom-light: #737d51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4b0c",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 76.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.08734,
    "h": 124
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#3A4B0C
secondary
#452C87
accent
#39EF6A
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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