#2A380C#2A380C

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

Color values

HEX#2A380C
RGBrgb(42, 56, 12)
HSLhsl(79, 65%, 13%)
HSVhsv(79, 79%, 22%)
CMYKcmyk(25%, 0%, 78.6%, 78%)
CIE-LABlab(21.38, -13.73, 24.49)
CIE-LCHlch(21.38, 28.08, 119.28°)
OKLaboklab(31.76% -0.0395 0.0556)
OKLCHoklch(31.76% 0.068 125.4)
XYZxyz(2.4354, 3.3471, 0.8655)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A380C #1A0C38
analogous
#38300C #2A380C #14380C
triadic
#2A380C #0C2A38 #380C2A
tetradic
#2A380C #0C3830 #1A0C38 #380C14
square
#2A380C #0C3830 #1A0C38 #380C14
split-complementary
#2A380C #0C1438 #300C38
monochromatic
#131905 #131905 #2A380C #506A17 #769D22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A380C#FFFFFF#000000##FFFFFF
##2A380C1.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)
#3B3406
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#2C352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a380c;
/* rgb */ color: rgb(42, 56, 12);
/* oklch */ color: oklch(31.8% 0.068 125.4);
Tailwind
colors: {
  custom: {
    50: '#656e4e',
    500: '#2a380c',
    950: '#000000',
  },
}
SCSS
$custom: #2a380c;
$custom-light: #656e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a380c",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 79.091,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31759,
    "c": 0.06816,
    "h": 125.4
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#2A380C
secondary
#432C74
accent
#40E875
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A380C

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

Preview Lab → · Contrast checker → · Palette generator →

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