#2A380F#2A380F

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

Color values

HEX#2A380F
RGBrgb(42, 56, 15)
HSLhsl(80, 58%, 14%)
HSVhsv(80, 73%, 22%)
CMYKcmyk(25%, 0%, 73.2%, 78%)
CIE-LABlab(21.41, -13.46, 23.04)
CIE-LCHlch(21.41, 26.69, 120.29°)
OKLaboklab(31.79% -0.0384 0.0529)
OKLCHoklch(31.79% 0.065 125.9)
XYZxyz(2.4552, 3.3550, 0.9701)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380F #1D0F38
analogous
#38320F #2A380F #16380F
triadic
#2A380F #0F2A38 #380F2A
tetradic
#2A380F #0F3832 #1D0F38 #380F16
square
#2A380F #0F3832 #1D0F38 #380F16
split-complementary
#2A380F #0F1638 #320F38
monochromatic
#121806 #121806 #2A380F #4E681C #729929

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A380F#FFFFFF#000000##FFFFFF
##2A380F1.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)
#3B340A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#2C352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a380f;
/* rgb */ color: rgb(42, 56, 15);
/* oklch */ color: oklch(31.8% 0.065 125.9);
Tailwind
colors: {
  custom: {
    50: '#656e4f',
    500: '#2a380f',
    950: '#000000',
  },
}
SCSS
$custom: #2a380f;
$custom-light: #656e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380f",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 80.488,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31792,
    "c": 0.06537,
    "h": 125.9
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#2A380F
secondary
#473072
accent
#47E17B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A380F

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

Preview Lab → · Contrast checker → · Palette generator →

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