#2F3E0A#2F3E0A

#2F3E0A is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.076 H 124.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3E0A
RGBrgb(47, 62, 10)
HSLhsl(77, 72%, 14%)
HSVhsv(77, 84%, 24%)
CMYKcmyk(24.2%, 0%, 83.9%, 75.7%)
CIE-LABlab(23.91, -14.88, 28.09)
CIE-LCHlch(23.91, 31.79, 117.91°)
OKLaboklab(33.9% -0.0432 0.0626)
OKLCHoklch(33.9% 0.076 124.6)
XYZxyz(2.9497, 4.0715, 0.9176)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E0A #190A3E
analogous
#3E330A #2F3E0A #153E0A
triadic
#2F3E0A #0A2F3E #3E0A2F
tetradic
#2F3E0A #0A3E33 #190A3E #3E0A15
square
#2F3E0A #0A3E33 #190A3E #3E0A15
split-complementary
#2F3E0A #0A153E #330A3E
monochromatic
#141A04 #141A04 #2F3E0A #577313 #7FA71B

Accessibility & contrast

On white

11.57
#2F3E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3E0A
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E0A#FFFFFF#000000##FFFFFF
##2F3E0A1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423903
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#323B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e0a;
/* rgb */ color: rgb(47, 62, 10);
/* oklch */ color: oklch(33.9% 0.076 124.6);
Tailwind
colors: {
  custom: {
    50: '#6a734d',
    500: '#2f3e0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e0a;
$custom-light: #6a734d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e0a",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 77.308,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.07602,
    "h": 124.6
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#2F3E0A
secondary
#40287B
accent
#39EF6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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