#2A3A10#2A3A10

#2A3A10 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.068 H 127.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2A3A10
RGBrgb(42, 58, 16)
HSLhsl(83, 57%, 15%)
HSVhsv(83, 72%, 23%)
CMYKcmyk(27.6%, 0%, 72.4%, 77.3%)
CIE-LABlab(22.14, -14.51, 23.31)
CIE-LCHlch(22.14, 27.46, 121.90°)
OKLaboklab(32.39% -0.0412 0.0537)
OKLCHoklch(32.39% 0.068 127.5)
XYZxyz(2.5614, 3.5557, 1.0415)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A10 #20103A
analogous
#3A3510 #2A3A10 #153A10
triadic
#2A3A10 #102A3A #3A102A
tetradic
#2A3A10 #103A35 #20103A #3A1015
square
#2A3A10 #103A35 #20103A #3A1015
split-complementary
#2A3A10 #10153A #35103A
monochromatic
#111807 #111807 #2A3A10 #4D6A1D #6F9A2A

Accessibility & contrast

On white

12.27
#2A3A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A10
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A10#FFFFFF#000000##FFFFFF
##2A3A101.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360B
Deuteranopia (green-blind)
#3B3513
Tritanopia (blue-blind)
#2C3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a10;
/* rgb */ color: rgb(42, 58, 16);
/* oklch */ color: oklch(32.4% 0.068 127.5);
Tailwind
colors: {
  custom: {
    50: '#657050',
    500: '#2a3a10',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a10;
$custom-light: #657050;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a10",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 82.857,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.06763,
    "h": 127.5
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#2A3A10
secondary
#4B3274
accent
#48E082
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3A10

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

Preview Lab → · Contrast checker → · Palette generator →

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