#2E670F#2E670F

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

Color values

HEX#2E670F
RGBrgb(46, 103, 15)
HSLhsl(99, 75%, 23%)
HSVhsv(99, 85%, 40%)
CMYKcmyk(55.3%, 0%, 85.4%, 59.6%)
CIE-LABlab(38.40, -34.71, 39.96)
CIE-LCHlch(38.40, 52.94, 130.98°)
OKLaboklab(45.75% -0.0963 0.0883)
OKLCHoklch(45.75% 0.131 137.5)
XYZxyz(6.0630, 10.3154, 2.1234)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E670F #480F67
analogous
#5A670F #2E670F #0F671C
triadic
#2E670F #0F2E67 #670F2E
tetradic
#2E670F #0F5A67 #480F67 #671C0F
square
#2E670F #0F5A67 #480F67 #671C0F
split-complementary
#2E670F #1C0F67 #670F5A
monochromatic
#0C1B04 #163207 #2E670F #469C17 #5ED21F

Accessibility & contrast

On white

6.86
#2E670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E670F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E670F#FFFFFF#000000##FFFFFF
##2E670F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#2A6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e670f;
/* rgb */ color: rgb(46, 103, 15);
/* oklch */ color: oklch(45.8% 0.131 137.5);
Tailwind
colors: {
  custom: {
    50: '#6e9356',
    500: '#2e670f',
    950: '#000000',
  },
}
SCSS
$custom: #2e670f;
$custom-light: #6e9356;
$custom-dark: #000000;
JSON
{
  "hex": "#2e670f",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 98.864,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.13068,
    "h": 137.5
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#2E670F
secondary
#7932A0
accent
#37F1AF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E670F

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

Preview Lab → · Contrast checker → · Palette generator →

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