#297B14#297B14

#297B14 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.155 H 140.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#297B14
RGBrgb(41, 123, 20)
HSLhsl(108, 72%, 28%)
HSVhsv(108, 84%, 48%)
CMYKcmyk(66.7%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.20, -43.56, 44.66)
CIE-LCHlch(45.20, 62.39, 134.29°)
OKLaboklab(51.33% -0.1194 0.099)
OKLCHoklch(51.33% 0.155 140.3)
XYZxyz(8.1233, 14.6870, 3.0685)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B14 #66147B
analogous
#5C7B14 #297B14 #147B32
triadic
#297B14 #14297B #7B1429
tetradic
#297B14 #145C7B #66147B #7B3214
square
#297B14 #145C7B #66147B #7B3214
split-complementary
#297B14 #32147B #7B145C
monochromatic
#091A04 #17460B #297B14 #3BB01D #51DD2D

Accessibility & contrast

On white

5.33
#297B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#297B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B14
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B14#FFFFFF#000000##FFFFFF
##297B141.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#1C7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297b14;
/* rgb */ color: rgb(41, 123, 20);
/* oklch */ color: oklch(51.3% 0.155 140.3);
Tailwind
colors: {
  custom: {
    50: '#6fa25c',
    500: '#297b14',
    950: '#000000',
  },
}
SCSS
$custom: #297b14;
$custom-light: #6fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#297b14",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 107.767,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.15514,
    "h": 140.3
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#297B14
secondary
#983AB1
accent
#39EFCA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #297B14

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

Preview Lab → · Contrast checker → · Palette generator →

#297B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva