#297045#297045

#297045 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.099 H 153.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#297045
RGBrgb(41, 112, 69)
HSLhsl(144, 46%, 30%)
HSVhsv(144, 63%, 44%)
CMYKcmyk(63.4%, 0%, 38.4%, 56.1%)
CIE-LABlab(41.98, -32.81, 17.52)
CIE-LCHlch(41.98, 37.19, 151.90°)
OKLaboklab(48.85% -0.0889 0.0439)
OKLCHoklch(48.85% 0.099 153.7)
XYZxyz(7.7822, 12.4887, 7.6295)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297045 #702954
analogous
#317029 #297045 #297068
triadic
#297045 #452970 #704529
tetradic
#297045 #293170 #702954 #706829
square
#297045 #293170 #702954 #706829
split-complementary
#297045 #682970 #702931
monochromatic
#08160E #194329 #297045 #399D61 #53C07E

Accessibility & contrast

On white

6.00
#297045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#297045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297045
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297045#FFFFFF#000000##FFFFFF
##2970451.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#0F6F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297045;
/* rgb */ color: rgb(41, 112, 69);
/* oklch */ color: oklch(48.9% 0.099 153.7);
Tailwind
colors: {
  custom: {
    50: '#6b9a79',
    500: '#297045',
    950: '#000000',
  },
}
SCSS
$custom: #297045;
$custom-light: #6b9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#297045",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 143.662,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.09915,
    "h": 153.7
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#297045
secondary
#A25383
accent
#52A2D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #297045

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

Preview Lab → · Contrast checker → · Palette generator →

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