#2A400E#2A400E

#2A400E is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.079 H 130.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2A400E
RGBrgb(42, 64, 14)
HSLhsl(86, 64%, 15%)
HSVhsv(86, 78%, 25%)
CMYKcmyk(34.4%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.29, -18.02, 26.59)
CIE-LCHlch(24.29, 32.12, 124.13°)
OKLaboklab(34.12% -0.051 0.0602)
OKLCHoklch(34.12% 0.079 130.3)
XYZxyz(2.8675, 4.1907, 1.0732)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A400E #240E40
analogous
#403D0E #2A400E #11400E
triadic
#2A400E #0E2A40 #400E2A
tetradic
#2A400E #0E403D #240E40 #400E11
square
#2A400E #0E403D #240E40 #400E11
split-complementary
#2A400E #0E1140 #3D0E40
monochromatic
#101905 #101905 #2A400E #4B7219 #6CA424

Accessibility & contrast

On white

11.42
#2A400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A400E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A400E#FFFFFF#000000##FFFFFF
##2A400E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#2B3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a400e;
/* rgb */ color: rgb(42, 64, 14);
/* oklch */ color: oklch(34.1% 0.079 130.3);
Tailwind
colors: {
  custom: {
    50: '#667550',
    500: '#2a400e',
    950: '#000000',
  },
}
SCSS
$custom: #2a400e;
$custom-light: #667550;
$custom-dark: #000000;
JSON
{
  "hex": "#2a400e",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 86.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34124,
    "c": 0.07893,
    "h": 130.3
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#2A400E
secondary
#502F7B
accent
#41E78A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A400E

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

Preview Lab → · Contrast checker → · Palette generator →

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