#45631B#45631B

#45631B is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.105 H 129.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#45631B
RGBrgb(69, 99, 27)
HSLhsl(85, 57%, 25%)
HSVhsv(85, 73%, 39%)
CMYKcmyk(30.3%, 0%, 72.7%, 61.2%)
CIE-LABlab(38.32, -23.42, 35.74)
CIE-LCHlch(38.32, 42.73, 123.24°)
OKLaboklab(46.03% -0.0665 0.081)
OKLCHoklch(46.03% 0.105 129.4)
XYZxyz(7.1139, 10.2678, 2.6438)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45631B #391B63
analogous
#635D1B #45631B #21631B
triadic
#45631B #1B4563 #631B45
tetradic
#45631B #1B635D #391B63 #631B21
square
#45631B #1B635D #391B63 #631B21
split-complementary
#45631B #1B2163 #5D1B63
monochromatic
#111807 #23330E #45631B #679328 #88C335

Accessibility & contrast

On white

6.88
#45631B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#45631B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45631B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45631B#FFFFFF#000000##FFFFFF
##45631B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C10
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#475E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #45631b;
/* rgb */ color: rgb(69, 99, 27);
/* oklch */ color: oklch(46.0% 0.105 129.4);
Tailwind
colors: {
  custom: {
    50: '#7b8f5c',
    500: '#45631b',
    950: '#000000',
  },
}
SCSS
$custom: #45631b;
$custom-light: #7b8f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#45631b",
  "rgb": {
    "r": 69,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 85,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.10477,
    "h": 129.4
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#45631B
secondary
#664198
accent
#47E087
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #45631B

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

Preview Lab → · Contrast checker → · Palette generator →

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