#2D630D#2D630D

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

Color values

HEX#2D630D
RGBrgb(45, 99, 13)
HSLhsl(98, 77%, 22%)
HSVhsv(98, 87%, 39%)
CMYKcmyk(54.5%, 0%, 86.9%, 61.2%)
CIE-LABlab(36.95, -33.48, 39.23)
CIE-LCHlch(36.95, 51.57, 130.47°)
OKLaboklab(44.54% -0.093 0.0865)
OKLCHoklch(44.54% 0.127 137.1)
XYZxyz(5.6165, 9.5102, 1.9204)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D630D #430D63
analogous
#58630D #2D630D #0D6318
triadic
#2D630D #0D2D63 #630D2D
tetradic
#2D630D #0D5863 #430D63 #63180D
square
#2D630D #0D5863 #430D63 #63180D
split-complementary
#2D630D #180D63 #630D58
monochromatic
#0C1B04 #142D06 #2D630D #469914 #5ECF1B

Accessibility & contrast

On white

7.24
#2D630D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D630D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D630D#FFFFFF#000000##FFFFFF
##2D630D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.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: #2d630d;
/* rgb */ color: rgb(45, 99, 13);
/* oklch */ color: oklch(44.5% 0.127 137.1);
Tailwind
colors: {
  custom: {
    50: '#6d9055',
    500: '#2d630d',
    950: '#000000',
  },
}
SCSS
$custom: #2d630d;
$custom-light: #6d9055;
$custom-dark: #000000;
JSON
{
  "hex": "#2d630d",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 13
  },
  "hsl": {
    "h": 97.674,
    "s": 76.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.12702,
    "h": 137.1
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#2D630D
secondary
#742F9D
accent
#34F3AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D630D

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

Preview Lab → · Contrast checker → · Palette generator →

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