#2F4308#2F4308

#2F4308 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.085 H 127.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2F4308
RGBrgb(47, 67, 8)
HSLhsl(80, 79%, 15%)
HSVhsv(80, 88%, 26%)
CMYKcmyk(29.9%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.67, -17.78, 30.61)
CIE-LCHlch(25.67, 35.39, 120.15°)
OKLaboklab(35.32% -0.0513 0.0674)
OKLCHoklch(35.32% 0.085 127.3)
XYZxyz(3.2233, 4.6361, 0.9547)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4308 #1C0843
analogous
#433A08 #2F4308 #124308
triadic
#2F4308 #082F43 #43082F
tetradic
#2F4308 #08433A #1C0843 #430812
square
#2F4308 #08433A #1C0843 #430812
split-complementary
#2F4308 #081243 #3A0843
monochromatic
#131B03 #131B03 #2F4308 #557A0F #7CB015

Accessibility & contrast

On white

10.90
#2F4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4308
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4308#FFFFFF#000000##FFFFFF
##2F43081.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4308;
/* rgb */ color: rgb(47, 67, 8);
/* oklch */ color: oklch(35.3% 0.085 127.3);
Tailwind
colors: {
  custom: {
    50: '#6a774d',
    500: '#2f4308',
    950: '#000000',
  },
}
SCSS
$custom: #2f4308;
$custom-light: #6a774d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4308",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 80.339,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.08469,
    "h": 127.3
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#2F4308
secondary
#452581
accent
#33F575
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4308

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

Preview Lab → · Contrast checker → · Palette generator →

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