#2A380A#2A380A

#2A380A is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.070 H 125.1°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2A380A
RGBrgb(42, 56, 10)
HSLhsl(78, 70%, 13%)
HSVhsv(78, 82%, 22%)
CMYKcmyk(25%, 0%, 82.1%, 78%)
CIE-LABlab(21.37, -13.89, 25.33)
CIE-LCHlch(21.37, 28.89, 118.74°)
OKLaboklab(31.74% -0.0401 0.0572)
OKLCHoklch(31.74% 0.07 125.1)
XYZxyz(2.4238, 3.3425, 0.8046)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380A #180A38
analogous
#382F0A #2A380A #13380A
triadic
#2A380A #0A2A38 #380A2A
tetradic
#2A380A #0A382F #180A38 #380A13
square
#2A380A #0A382F #180A38 #380A13
split-complementary
#2A380A #0A1338 #2F0A38
monochromatic
#131A05 #131A05 #2A380A #516C13 #78A01D

Accessibility & contrast

On white

12.59
#2A380A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A380A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A380A
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A380A#FFFFFF#000000##FFFFFF
##2A380A1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3404
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#2C352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a380a;
/* rgb */ color: rgb(42, 56, 10);
/* oklch */ color: oklch(31.7% 0.070 125.1);
Tailwind
colors: {
  custom: {
    50: '#656e4c',
    500: '#2a380a',
    950: '#000000',
  },
}
SCSS
$custom: #2a380a;
$custom-light: #656e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380a",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 78.261,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.06984,
    "h": 125.1
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#2A380A
secondary
#402875
accent
#3BED71
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A380A

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

Preview Lab → · Contrast checker → · Palette generator →

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