#2A3D0C#2A3D0C

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

Color values

HEX#2A3D0C
RGBrgb(42, 61, 12)
HSLhsl(83, 67%, 14%)
HSVhsv(83, 80%, 24%)
CMYKcmyk(31.1%, 0%, 80.3%, 76.1%)
CIE-LABlab(23.19, -16.55, 26.39)
CIE-LCHlch(23.19, 31.15, 122.10°)
OKLaboklab(33.22% -0.0472 0.0595)
OKLCHoklch(33.22% 0.076 128.4)
XYZxyz(2.6899, 3.8562, 0.9504)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0C #1F0C3D
analogous
#3D380C #2A3D0C #123D0C
triadic
#2A3D0C #0C2A3D #3D0C2A
tetradic
#2A3D0C #0C3D38 #1F0C3D #3D0C12
square
#2A3D0C #0C3D38 #1F0C3D #3D0C12
split-complementary
#2A3D0C #0C123D #380C3D
monochromatic
#121A05 #121A05 #2A3D0C #4D7016 #70A320

Accessibility & contrast

On white

11.86
#2A3D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3D0C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D0C#FFFFFF#000000##FFFFFF
##2A3D0C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3d0c;
/* rgb */ color: rgb(42, 61, 12);
/* oklch */ color: oklch(33.2% 0.076 128.4);
Tailwind
colors: {
  custom: {
    50: '#66724e',
    500: '#2a3d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0c;
$custom-light: #66724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0c",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 83.265,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33224,
    "c": 0.07592,
    "h": 128.4
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#2A3D0C
secondary
#4A2C79
accent
#3EEA81
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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