#45891F#45891F

#45891F is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.154 H 136.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#45891F
RGBrgb(69, 137, 31)
HSLhsl(98, 63%, 33%)
HSVhsv(98, 77%, 54%)
CMYKcmyk(49.6%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.98, -40.38, 46.86)
CIE-LCHlch(50.98, 61.86, 130.75°)
OKLaboklab(56.4% -0.1121 0.1049)
OKLCHoklch(56.4% 0.154 136.9)
XYZxyz(11.6469, 19.2547, 4.3989)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45891F #631F89
analogous
#7A891F #45891F #1F892E
triadic
#45891F #1F4589 #891F45
tetradic
#45891F #1F7A89 #631F89 #892E1F
square
#45891F #1F7A89 #631F89 #892E1F
split-complementary
#45891F #2E1F89 #891F7A
monochromatic
#132508 #2C5714 #45891F #5EBB2A #7ED64C

Accessibility & contrast

On white

4.33
#45891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#45891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45891F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45891F#FFFFFF#000000##000000
##45891F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#418475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #45891f;
/* rgb */ color: rgb(69, 137, 31);
/* oklch */ color: oklch(56.4% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#80ac63',
    500: '#45891f',
    950: '#000000',
  },
}
SCSS
$custom: #45891f;
$custom-light: #80ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#45891f",
  "rgb": {
    "r": 69,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 98.491,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.15353,
    "h": 136.9
  },
  "luminance": 0.19255
}

Semantic roles & 50–950 ramp

primary
#45891F
secondary
#924BB9
accent
#42E6AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #45891F

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

Preview Lab → · Contrast checker → · Palette generator →

#45891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva