#2D630E#2D630E

#2D630E is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.5% C 0.127 H 137.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D630E
RGBrgb(45, 99, 14)
HSLhsl(98, 75%, 22%)
HSVhsv(98, 86%, 39%)
CMYKcmyk(54.5%, 0%, 85.9%, 61.2%)
CIE-LABlab(36.95, -33.42, 38.93)
CIE-LCHlch(36.95, 51.31, 130.65°)
OKLaboklab(44.54% -0.0928 0.086)
OKLCHoklch(44.54% 0.127 137.2)
XYZxyz(5.6231, 9.5129, 1.9552)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D630E #440E63
analogous
#57630E #2D630E #0E631A
triadic
#2D630E #0E2D63 #630E2D
tetradic
#2D630E #0E5763 #440E63 #631A0E
square
#2D630E #0E5763 #440E63 #631A0E
split-complementary
#2D630E #1A0E63 #630E57
monochromatic
#0C1B04 #152D06 #2D630E #459916 #5ECE1D

Accessibility & contrast

On white

7.23
#2D630E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D630E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D630E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D630E#FFFFFF#000000##FFFFFF
##2D630E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d630e;
/* rgb */ color: rgb(45, 99, 14);
/* oklch */ color: oklch(44.5% 0.127 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d9055',
    500: '#2d630e',
    950: '#000000',
  },
}
SCSS
$custom: #2d630e;
$custom-light: #6d9055;
$custom-dark: #000000;
JSON
{
  "hex": "#2d630e",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 98.118,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.12654,
    "h": 137.2
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#2D630E
secondary
#75309C
accent
#36F2AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D630E

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

Preview Lab → · Contrast checker → · Palette generator →

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