#45851F#45851F

#45851F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.3% C 0.148 H 136.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#45851F
RGBrgb(69, 133, 31)
HSLhsl(98, 62%, 32%)
HSVhsv(98, 77%, 52%)
CMYKcmyk(48.1%, 0%, 76.7%, 47.8%)
CIE-LABlab(49.66, -38.72, 45.57)
CIE-LCHlch(49.66, 59.80, 130.35°)
OKLaboklab(55.32% -0.1076 0.1022)
OKLCHoklch(55.32% 0.148 136.5)
XYZxyz(11.0888, 18.1385, 4.2128)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45851F #5F1F85
analogous
#78851F #45851F #1F852C
triadic
#45851F #1F4585 #851F45
tetradic
#45851F #1F7885 #5F1F85 #852C1F
square
#45851F #1F7885 #5F1F85 #852C1F
split-complementary
#45851F #2C1F85 #851F78
monochromatic
#122208 #2B5313 #45851F #5FB72B #7DD54A

Accessibility & contrast

On white

4.54
#45851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#45851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45851F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45851F#FFFFFF#000000##000000
##45851F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790A
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#428071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #45851f;
/* rgb */ color: rgb(69, 133, 31);
/* oklch */ color: oklch(55.3% 0.148 136.5);
Tailwind
colors: {
  custom: {
    50: '#7fa962',
    500: '#45851f',
    950: '#000000',
  },
}
SCSS
$custom: #45851f;
$custom-light: #7fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#45851f",
  "rgb": {
    "r": 69,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 97.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55316,
    "c": 0.14843,
    "h": 136.5
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#45851F
secondary
#8E49B7
accent
#43E5A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45851F

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

Preview Lab → · Contrast checker → · Palette generator →

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