#2A380D#2A380D

#2A380D is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.067 H 125.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2A380D
RGBrgb(42, 56, 13)
HSLhsl(80, 62%, 14%)
HSVhsv(80, 77%, 22%)
CMYKcmyk(25%, 0%, 76.8%, 78%)
CIE-LABlab(21.39, -13.64, 24.03)
CIE-LCHlch(21.39, 27.63, 119.59°)
OKLaboklab(31.77% -0.0391 0.0547)
OKLCHoklch(31.77% 0.067 125.5)
XYZxyz(2.4417, 3.3496, 0.8986)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380D #1B0D38
analogous
#38300D #2A380D #14380D
triadic
#2A380D #0D2A38 #380D2A
tetradic
#2A380D #0D3830 #1B0D38 #380D14
square
#2A380D #0D3830 #1B0D38 #380D14
split-complementary
#2A380D #0D1438 #300D38
monochromatic
#131906 #131906 #2A380D #4F6A19 #759B24

Accessibility & contrast

On white

12.57
#2A380D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A380D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A380D#FFFFFF#000000##FFFFFF
##2A380D1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a380d;
/* rgb */ color: rgb(42, 56, 13);
/* oklch */ color: oklch(31.8% 0.067 125.5);
Tailwind
colors: {
  custom: {
    50: '#656e4e',
    500: '#2a380d',
    950: '#000000',
  },
}
SCSS
$custom: #2a380d;
$custom-light: #656e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380d",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 79.535,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3177,
    "c": 0.06727,
    "h": 125.5
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#2A380D
secondary
#442D73
accent
#42E577
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A380D

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

Preview Lab → · Contrast checker → · Palette generator →

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