#297819#297819

#297819 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.149 H 140.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#297819
RGBrgb(41, 120, 25)
HSLhsl(110, 66%, 28%)
HSVhsv(110, 79%, 47%)
CMYKcmyk(65.8%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.20, -42.13, 42.03)
CIE-LCHlch(44.20, 59.51, 135.06°)
OKLaboklab(50.51% -0.1153 0.0943)
OKLCHoklch(50.51% 0.149 140.7)
XYZxyz(7.8060, 13.9738, 3.2054)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297819 #681978
analogous
#587819 #297819 #197838
triadic
#297819 #192978 #781929
tetradic
#297819 #195878 #681978 #783819
square
#297819 #195878 #681978 #783819
split-complementary
#297819 #381978 #781958
monochromatic
#091905 #18450E #297819 #3AAB24 #51D536

Accessibility & contrast

On white

5.53
#297819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#297819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297819
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297819#FFFFFF#000000##FFFFFF
##2978191.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#1C7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297819;
/* rgb */ color: rgb(41, 120, 25);
/* oklch */ color: oklch(50.5% 0.149 140.7);
Tailwind
colors: {
  custom: {
    50: '#6ea05d',
    500: '#297819',
    950: '#000000',
  },
}
SCSS
$custom: #297819;
$custom-light: #6ea05d;
$custom-dark: #000000;
JSON
{
  "hex": "#297819",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 109.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.14894,
    "h": 140.7
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#297819
secondary
#9A40AD
accent
#3FE8CC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #297819

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

Preview Lab → · Contrast checker → · Palette generator →

#297819 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva