#2E630F#2E630F

#2E630F is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.126 H 137.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E630F
RGBrgb(46, 99, 15)
HSLhsl(98, 74%, 22%)
HSVhsv(98, 85%, 39%)
CMYKcmyk(53.5%, 0%, 84.8%, 61.2%)
CIE-LABlab(37.00, -33.03, 38.66)
CIE-LCHlch(37.00, 50.85, 130.51°)
OKLaboklab(44.6% -0.0918 0.0856)
OKLCHoklch(44.6% 0.126 137)
XYZxyz(5.6746, 9.5386, 1.9940)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E630F #440F63
analogous
#58630F #2E630F #0F631A
triadic
#2E630F #0F2E63 #630F2E
tetradic
#2E630F #0F5863 #440F63 #631A0F
square
#2E630F #0F5863 #440F63 #631A0F
split-complementary
#2E630F #1A0F63 #630F58
monochromatic
#0C1B04 #152E07 #2E630F #479817 #5FCD1F

Accessibility & contrast

On white

7.22
#2E630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E630F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E630F#FFFFFF#000000##FFFFFF
##2E630F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e630f;
/* rgb */ color: rgb(46, 99, 15);
/* oklch */ color: oklch(44.6% 0.126 137.0);
Tailwind
colors: {
  custom: {
    50: '#6d9056',
    500: '#2e630f',
    950: '#000000',
  },
}
SCSS
$custom: #2e630f;
$custom-light: #6d9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2e630f",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 97.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.12552,
    "h": 137
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#2E630F
secondary
#75329C
accent
#37F0AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E630F

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

Preview Lab → · Contrast checker → · Palette generator →

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