#2F3A0A#2F3A0A

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

Color values

HEX#2F3A0A
RGBrgb(47, 58, 10)
HSLhsl(74, 71%, 13%)
HSVhsv(74, 83%, 23%)
CMYKcmyk(19%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.49, -12.58, 26.65)
CIE-LCHlch(22.49, 29.47, 115.27°)
OKLaboklab(32.75% -0.0369 0.0596)
OKLCHoklch(32.75% 0.07 121.7)
XYZxyz(2.7402, 3.6524, 0.8477)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0A #150A3A
analogous
#3A2D0A #2F3A0A #173A0A
triadic
#2F3A0A #0A2F3A #3A0A2F
tetradic
#2F3A0A #0A3A2D #150A3A #3A0A17
square
#2F3A0A #0A3A2D #150A3A #3A0A17
split-complementary
#2F3A0A #0A173A #2D0A3A
monochromatic
#151A05 #151A05 #2F3A0A #596E13 #84A21C

Accessibility & contrast

On white

12.14
#2F3A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3A0A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A0A#FFFFFF#000000##FFFFFF
##2F3A0A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3603
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a0a;
/* rgb */ color: rgb(47, 58, 10);
/* oklch */ color: oklch(32.7% 0.070 121.7);
Tailwind
colors: {
  custom: {
    50: '#69704d',
    500: '#2f3a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0a;
$custom-light: #69704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0a",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 73.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32749,
    "c": 0.07012,
    "h": 121.7
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#2F3A0A
secondary
#3B2877
accent
#3AED63
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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