#45951A#45951A

#45951A is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.6% C 0.171 H 137.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#45951A
RGBrgb(69, 149, 26)
HSLhsl(99, 70%, 34%)
HSVhsv(99, 83%, 58%)
CMYKcmyk(53.7%, 0%, 82.6%, 41.6%)
CIE-LABlab(54.90, -45.45, 52.19)
CIE-LCHlch(54.90, 69.21, 131.05°)
OKLaboklab(59.62% -0.1261 0.1153)
OKLCHoklch(59.62% 0.171 137.6)
XYZxyz(13.3877, 22.8337, 4.6789)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45951A #6A1A95
analogous
#83951A #45951A #1A952C
triadic
#45951A #1A4595 #951A45
tetradic
#45951A #1A8395 #6A1A95 #952C1A
square
#45951A #1A8395 #6A1A95 #952C1A
split-complementary
#45951A #2C1A95 #951A83
monochromatic
#152D08 #2D6111 #45951A #5DC923 #7EDF4A

Accessibility & contrast

On white

3.77
#45951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#45951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45951A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45951A#FFFFFF#000000##000000
##45951A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#3F8F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #45951a;
/* rgb */ color: rgb(69, 149, 26);
/* oklch */ color: oklch(59.6% 0.171 137.6);
Tailwind
colors: {
  custom: {
    50: '#82b562',
    500: '#45951a',
    950: '#000000',
  },
}
SCSS
$custom: #45951a;
$custom-light: #82b562;
$custom-dark: #000000;
JSON
{
  "hex": "#45951a",
  "rgb": {
    "r": 69,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 99.024,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.17083,
    "h": 137.6
  },
  "luminance": 0.22835
}

Semantic roles & 50–950 ramp

primary
#45951A
secondary
#974AC1
accent
#3BEDAF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45951A

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

Preview Lab → · Contrast checker → · Palette generator →

#45951A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva