#2B630E#2B630E

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

Color values

HEX#2B630E
RGBrgb(43, 99, 14)
HSLhsl(100, 75%, 22%)
HSVhsv(100, 86%, 39%)
CMYKcmyk(56.6%, 0%, 85.9%, 61.2%)
CIE-LABlab(36.87, -34.06, 38.82)
CIE-LCHlch(36.87, 51.65, 131.27°)
OKLaboklab(44.45% -0.0944 0.0858)
OKLCHoklch(44.45% 0.128 137.7)
XYZxyz(5.5372, 9.4685, 1.9512)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B630E #460E63
analogous
#56630E #2B630E #0E631B
triadic
#2B630E #0E2B63 #630E2B
tetradic
#2B630E #0E5663 #460E63 #631B0E
square
#2B630E #0E5663 #460E63 #631B0E
split-complementary
#2B630E #1B0E63 #630E56
monochromatic
#0C1B04 #142D06 #2B630E #429916 #5ACE1D

Accessibility & contrast

On white

7.26
#2B630E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B630E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B630E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B630E#FFFFFF#000000##FFFFFF
##2B630E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#275F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b630e;
/* rgb */ color: rgb(43, 99, 14);
/* oklch */ color: oklch(44.5% 0.128 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c9055',
    500: '#2b630e',
    950: '#000000',
  },
}
SCSS
$custom: #2b630e;
$custom-light: #6c9055;
$custom-dark: #000000;
JSON
{
  "hex": "#2b630e",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 99.529,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.12759,
    "h": 137.7
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#2B630E
secondary
#78309C
accent
#36F2B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B630E

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

Preview Lab → · Contrast checker → · Palette generator →

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