#2A380B#2A380B

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

Color values

HEX#2A380B
RGBrgb(42, 56, 11)
HSLhsl(79, 67%, 13%)
HSVhsv(79, 80%, 22%)
CMYKcmyk(25%, 0%, 80.4%, 78%)
CIE-LABlab(21.37, -13.81, 24.92)
CIE-LCHlch(21.37, 28.49, 119.00°)
OKLaboklab(31.75% -0.0398 0.0564)
OKLCHoklch(31.75% 0.069 125.2)
XYZxyz(2.4294, 3.3447, 0.8341)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380B #190B38
analogous
#382F0B #2A380B #13380B
triadic
#2A380B #0B2A38 #380B2A
tetradic
#2A380B #0B382F #190B38 #380B13
square
#2A380B #0B382F #190B38 #380B13
split-complementary
#2A380B #0B1338 #2F0B38
monochromatic
#131A05 #131A05 #2A380B #506B15 #779E1F

Accessibility & contrast

On white

12.58
#2A380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A380B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A380B#FFFFFF#000000##FFFFFF
##2A380B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a380b;
/* rgb */ color: rgb(42, 56, 11);
/* oklch */ color: oklch(31.7% 0.069 125.2);
Tailwind
colors: {
  custom: {
    50: '#656e4d',
    500: '#2a380b',
    950: '#000000',
  },
}
SCSS
$custom: #2a380b;
$custom-light: #656e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380b",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 78.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.06902,
    "h": 125.2
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#2A380B
secondary
#412A75
accent
#3EEA73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A380B

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

Preview Lab → · Contrast checker → · Palette generator →

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