#2F670E#2F670E

#2F670E is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.131 H 137.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2F670E
RGBrgb(47, 103, 14)
HSLhsl(98, 76%, 23%)
HSVhsv(98, 86%, 40%)
CMYKcmyk(54.4%, 0%, 86.4%, 59.6%)
CIE-LABlab(38.44, -34.45, 40.32)
CIE-LCHlch(38.44, 53.03, 130.51°)
OKLaboklab(45.79% -0.0957 0.0889)
OKLCHoklch(45.79% 0.131 137.1)
XYZxyz(6.1016, 10.3361, 2.0889)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F670E #460E67
analogous
#5B670E #2F670E #0E671A
triadic
#2F670E #0E2F67 #670E2F
tetradic
#2F670E #0E5B67 #460E67 #671A0E
square
#2F670E #0E5B67 #460E67 #671A0E
split-complementary
#2F670E #1A0E67 #670E5B
monochromatic
#0C1B04 #163107 #2F670E #489D15 #60D31D

Accessibility & contrast

On white

6.85
#2F670E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F670E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F670E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F670E#FFFFFF#000000##FFFFFF
##2F670E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f670e;
/* rgb */ color: rgb(47, 103, 14);
/* oklch */ color: oklch(45.8% 0.131 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e9356',
    500: '#2f670e',
    950: '#000000',
  },
}
SCSS
$custom: #2f670e;
$custom-light: #6e9356;
$custom-dark: #000000;
JSON
{
  "hex": "#2f670e",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 14
  },
  "hsl": {
    "h": 97.753,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.13064,
    "h": 137.1
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#2F670E
secondary
#7731A0
accent
#35F3AC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F670E

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

Preview Lab → · Contrast checker → · Palette generator →

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