#2A3D0E#2A3D0E

#2A3D0E is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.074 H 128.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3D0E
RGBrgb(42, 61, 14)
HSLhsl(84, 63%, 15%)
HSVhsv(84, 77%, 24%)
CMYKcmyk(31.1%, 0%, 77%, 76.1%)
CIE-LABlab(23.21, -16.39, 25.46)
CIE-LCHlch(23.21, 30.28, 122.76°)
OKLaboklab(33.24% -0.0465 0.0579)
OKLCHoklch(33.24% 0.074 128.8)
XYZxyz(2.7028, 3.8614, 1.0183)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0E #210E3D
analogous
#3D390E #2A3D0E #133D0E
triadic
#2A3D0E #0E2A3D #3D0E2A
tetradic
#2A3D0E #0E3D39 #210E3D #3D0E13
square
#2A3D0E #0E3D39 #210E3D #3D0E13
split-complementary
#2A3D0E #0E133D #390E3D
monochromatic
#111906 #111906 #2A3D0E #4C6F19 #6FA125

Accessibility & contrast

On white

11.85
#2A3D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3D0E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D0E#FFFFFF#000000##FFFFFF
##2A3D0E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403808
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d0e;
/* rgb */ color: rgb(42, 61, 14);
/* oklch */ color: oklch(33.2% 0.074 128.8);
Tailwind
colors: {
  custom: {
    50: '#65724f',
    500: '#2a3d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0e;
$custom-light: #65724f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0e",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 84.255,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33243,
    "c": 0.07425,
    "h": 128.8
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#2A3D0E
secondary
#4C2F78
accent
#42E684
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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