#2A3B0F#2A3B0F

#2A3B0F is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.070 H 127.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2A3B0F
RGBrgb(42, 59, 15)
HSLhsl(83, 59%, 15%)
HSVhsv(83, 75%, 23%)
CMYKcmyk(28.8%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.50, -15.18, 24.21)
CIE-LCHlch(22.50, 28.57, 122.08°)
OKLaboklab(32.67% -0.0431 0.0554)
OKLCHoklch(32.67% 0.07 127.9)
XYZxyz(2.6050, 3.6546, 1.0200)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B0F #200F3B
analogous
#3B360F #2A3B0F #143B0F
triadic
#2A3B0F #0F2A3B #3B0F2A
tetradic
#2A3B0F #0F3B36 #200F3B #3B0F14
square
#2A3B0F #0F3B36 #200F3B #3B0F14
split-complementary
#2A3B0F #0F143B #360F3B
monochromatic
#111806 #111806 #2A3B0F #4D6C1B #6F9D28

Accessibility & contrast

On white

12.13
#2A3B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B0F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B0F#FFFFFF#000000##FFFFFF
##2A3B0F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#3C3512
Tritanopia (blue-blind)
#2C3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b0f;
/* rgb */ color: rgb(42, 59, 15);
/* oklch */ color: oklch(32.7% 0.070 127.9);
Tailwind
colors: {
  custom: {
    50: '#657150',
    500: '#2a3b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b0f;
$custom-light: #657150;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b0f",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 83.182,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.07019,
    "h": 127.9
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#2A3B0F
secondary
#4B3075
accent
#45E382
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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