#2A3D10#2A3D10

#2A3D10 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.072 H 129.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2A3D10
RGBrgb(42, 61, 16)
HSLhsl(85, 58%, 15%)
HSVhsv(85, 74%, 24%)
CMYKcmyk(31.1%, 0%, 73.8%, 76.1%)
CIE-LABlab(23.23, -16.20, 24.48)
CIE-LCHlch(23.23, 29.36, 123.49°)
OKLaboklab(33.27% -0.0458 0.0561)
OKLCHoklch(33.27% 0.072 129.2)
XYZxyz(2.7171, 3.8671, 1.0934)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D10 #23103D
analogous
#3D3910 #2A3D10 #143D10
triadic
#2A3D10 #102A3D #3D102A
tetradic
#2A3D10 #103D39 #23103D #3D1014
square
#2A3D10 #103D39 #23103D #3D1014
split-complementary
#2A3D10 #10143D #39103D
monochromatic
#111806 #111806 #2A3D10 #4B6D1D #6D9E29

Accessibility & contrast

On white

11.84
#2A3D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D10
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D10#FFFFFF#000000##FFFFFF
##2A3D101.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380A
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#2B3A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d10;
/* rgb */ color: rgb(42, 61, 16);
/* oklch */ color: oklch(33.3% 0.072 129.2);
Tailwind
colors: {
  custom: {
    50: '#657251',
    500: '#2a3d10',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d10;
$custom-light: #657251;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d10",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 16
  },
  "hsl": {
    "h": 85.333,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33265,
    "c": 0.07246,
    "h": 129.2
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#2A3D10
secondary
#4F3277
accent
#46E288
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D10

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva