#45851C#45851C

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

Color values

HEX#45851C
RGBrgb(69, 133, 28)
HSLhsl(97, 65%, 32%)
HSVhsv(97, 79%, 52%)
CMYKcmyk(48.1%, 0%, 78.9%, 47.8%)
CIE-LABlab(49.65, -38.92, 46.62)
CIE-LCHlch(49.65, 60.73, 129.85°)
OKLaboklab(55.3% -0.1084 0.1039)
OKLCHoklch(55.3% 0.15 136.2)
XYZxyz(11.0511, 18.1234, 4.0142)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45851C #5C1C85
analogous
#7A851C #45851C #1C8527
triadic
#45851C #1C4585 #851C45
tetradic
#45851C #1C7A85 #5C1C85 #85271C
square
#45851C #1C7A85 #5C1C85 #85271C
split-complementary
#45851C #271C85 #851C7A
monochromatic
#112007 #2B5211 #45851C #5FB827 #7ED844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45851C#FFFFFF#000000##000000
##45851C1.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)
#8A7902
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#428071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #45851c;
/* rgb */ color: rgb(69, 133, 28);
/* oklch */ color: oklch(55.3% 0.150 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa961',
    500: '#45851c',
    950: '#000000',
  },
}
SCSS
$custom: #45851c;
$custom-light: #7fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#45851c",
  "rgb": {
    "r": 69,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 96.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.15016,
    "h": 136.2
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#45851C
secondary
#8B45B8
accent
#40E8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45851C

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

Preview Lab → · Contrast checker → · Palette generator →

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