#2F4310#2F4310

#2F4310 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.079 H 128.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2F4310
RGBrgb(47, 67, 16)
HSLhsl(84, 61%, 16%)
HSVhsv(84, 76%, 26%)
CMYKcmyk(29.9%, 0%, 76.1%, 73.7%)
CIE-LABlab(25.73, -17.21, 27.24)
CIE-LCHlch(25.73, 32.22, 122.28°)
OKLaboklab(35.39% -0.049 0.0618)
OKLCHoklch(35.39% 0.079 128.4)
XYZxyz(3.2730, 4.6560, 1.2164)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4310 #241043
analogous
#433E10 #2F4310 #164310
triadic
#2F4310 #102F43 #43102F
tetradic
#2F4310 #10433E #241043 #431016
square
#2F4310 #10433E #241043 #431016
split-complementary
#2F4310 #101643 #3E1043
monochromatic
#111906 #111906 #2F4310 #52741C #74A628

Accessibility & contrast

On white

10.87
#2F4310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4310
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4310#FFFFFF#000000##FFFFFF
##2F43101.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E09
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#314039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4310;
/* rgb */ color: rgb(47, 67, 16);
/* oklch */ color: oklch(35.4% 0.079 128.4);
Tailwind
colors: {
  custom: {
    50: '#6a7751',
    500: '#2f4310',
    950: '#000000',
  },
}
SCSS
$custom: #2f4310;
$custom-light: #6a7751;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4310",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 16
  },
  "hsl": {
    "h": 83.529,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.07887,
    "h": 128.4
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#2F4310
secondary
#4F327D
accent
#43E583
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4310

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

Preview Lab → · Contrast checker → · Palette generator →

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