#2A3F07#2A3F07

#2A3F07 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.083 H 128.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2A3F07
RGBrgb(42, 63, 7)
HSLhsl(83, 80%, 14%)
HSVhsv(83, 89%, 25%)
CMYKcmyk(33.3%, 0%, 88.9%, 75.3%)
CIE-LABlab(23.88, -18.00, 29.17)
CIE-LCHlch(23.88, 34.27, 121.68°)
OKLaboklab(33.77% -0.0516 0.0645)
OKLCHoklch(33.77% 0.083 128.7)
XYZxyz(2.7707, 4.0625, 0.8391)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F07 #1C073F
analogous
#3F3807 #2A3F07 #0E3F07
triadic
#2A3F07 #072A3F #3F072A
tetradic
#2A3F07 #073F38 #1C073F #3F070E
square
#2A3F07 #073F38 #1C073F #3F070E
split-complementary
#2A3F07 #070E3F #38073F
monochromatic
#121C03 #121C03 #2A3F07 #4F760D #73AD13

Accessibility & contrast

On white

11.59
#2A3F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A3F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F07
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F07#FFFFFF#000000##FFFFFF
##2A3F071.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f07;
/* rgb */ color: rgb(42, 63, 7);
/* oklch */ color: oklch(33.8% 0.083 128.7);
Tailwind
colors: {
  custom: {
    50: '#66744c',
    500: '#2a3f07',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f07;
$custom-light: #66744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f07",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 82.5,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.0826,
    "h": 128.7
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#2A3F07
secondary
#46247E
accent
#31F67B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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