#45951B#45951B

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

Color values

HEX#45951B
RGBrgb(69, 149, 27)
HSLhsl(99, 69%, 35%)
HSVhsv(99, 82%, 58%)
CMYKcmyk(53.7%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.91, -45.40, 51.90)
CIE-LCHlch(54.91, 68.96, 131.18°)
OKLaboklab(59.62% -0.1259 0.1148)
OKLCHoklch(59.62% 0.17 137.6)
XYZxyz(13.3991, 22.8382, 4.7388)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45951B #6B1B95
analogous
#82951B #45951B #1B952E
triadic
#45951B #1B4595 #951B45
tetradic
#45951B #1B8295 #6B1B95 #952E1B
square
#45951B #1B8295 #6B1B95 #952E1B
split-complementary
#45951B #2E1B95 #951B82
monochromatic
#152D08 #2D6112 #45951B #5DC924 #7EDF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45951B#FFFFFF#000000##000000
##45951B1.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)
#90812A
Tritanopia (blue-blind)
#3F8F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #45951b;
/* rgb */ color: rgb(69, 149, 27);
/* oklch */ color: oklch(59.6% 0.170 137.6);
Tailwind
colors: {
  custom: {
    50: '#82b563',
    500: '#45951b',
    950: '#000000',
  },
}
SCSS
$custom: #45951b;
$custom-light: #82b563;
$custom-dark: #000000;
JSON
{
  "hex": "#45951b",
  "rgb": {
    "r": 69,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 99.344,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.17037,
    "h": 137.6
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#45951B
secondary
#984BC1
accent
#3CECAF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45951B

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

Preview Lab → · Contrast checker → · Palette generator →

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