#45851B#45851B

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

Color values

HEX#45851B
RGBrgb(69, 133, 27)
HSLhsl(96, 66%, 31%)
HSVhsv(96, 80%, 52%)
CMYKcmyk(48.1%, 0%, 79.7%, 47.8%)
CIE-LABlab(49.64, -38.98, 46.95)
CIE-LCHlch(49.64, 61.02, 129.70°)
OKLaboklab(55.29% -0.1086 0.1045)
OKLCHoklch(55.29% 0.151 136.1)
XYZxyz(11.0393, 18.1187, 3.9523)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45851B #5B1B85
analogous
#7A851B #45851B #1B8526
triadic
#45851B #1B4585 #851B45
tetradic
#45851B #1B7A85 #5B1B85 #85261B
square
#45851B #1B7A85 #5B1B85 #85261B
split-complementary
#45851B #261B85 #851B7A
monochromatic
#101F06 #2B5211 #45851B #5FB825 #7ED942

Accessibility & contrast

On white

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

On black

4.62
#45851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45851B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45851B#FFFFFF#000000##000000
##45851B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45851b;
/* rgb */ color: rgb(69, 133, 27);
/* oklch */ color: oklch(55.3% 0.151 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa960',
    500: '#45851b',
    950: '#000000',
  },
}
SCSS
$custom: #45851b;
$custom-light: #7fa960;
$custom-dark: #000000;
JSON
{
  "hex": "#45851b",
  "rgb": {
    "r": 69,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 96.226,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.1507,
    "h": 136.1
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#45851B
secondary
#8A44B8
accent
#3FE9A6
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #45851B

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

Preview Lab → · Contrast checker → · Palette generator →

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