#2A380E#2A380E

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

Color values

HEX#2A380E
RGBrgb(42, 56, 14)
HSLhsl(80, 60%, 14%)
HSVhsv(80, 75%, 22%)
CMYKcmyk(25%, 0%, 75%, 78%)
CIE-LABlab(21.40, -13.55, 23.55)
CIE-LCHlch(21.40, 27.17, 119.92°)
OKLaboklab(31.78% -0.0387 0.0539)
OKLCHoklch(31.78% 0.066 125.7)
XYZxyz(2.4483, 3.3523, 0.9334)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380E #1C0E38
analogous
#38310E #2A380E #15380E
triadic
#2A380E #0E2A38 #380E2A
tetradic
#2A380E #0E3831 #1C0E38 #380E15
square
#2A380E #0E3831 #1C0E38 #380E15
split-complementary
#2A380E #0E1538 #310E38
monochromatic
#121806 #121806 #2A380E #4F691A #739A26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A380E#FFFFFF#000000##FFFFFF
##2A380E1.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)
#3B3409
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#2C352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a380e;
/* rgb */ color: rgb(42, 56, 14);
/* oklch */ color: oklch(31.8% 0.066 125.7);
Tailwind
colors: {
  custom: {
    50: '#656e4f',
    500: '#2a380e',
    950: '#000000',
  },
}
SCSS
$custom: #2a380e;
$custom-light: #656e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380e",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31781,
    "c": 0.06634,
    "h": 125.7
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#2A380E
secondary
#462F73
accent
#45E379
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A380E

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

Preview Lab → · Contrast checker → · Palette generator →

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