#45701B#45701B

#45701B is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.123 H 132.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#45701B
RGBrgb(69, 112, 27)
HSLhsl(90, 61%, 27%)
HSVhsv(90, 76%, 44%)
CMYKcmyk(38.4%, 0%, 75.9%, 56.1%)
CIE-LABlab(42.66, -29.73, 40.15)
CIE-LCHlch(42.66, 49.96, 126.52°)
OKLaboklab(49.57% -0.0836 0.0902)
OKLCHoklch(49.57% 0.123 132.8)
XYZxyz(8.4461, 12.9323, 3.0879)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45701B #461B70
analogous
#70701B #45701B #1B701C
triadic
#45701B #1B4570 #701B45
tetradic
#45701B #1B7070 #461B70 #701C1B
square
#45701B #1B7070 #461B70 #701C1B
split-complementary
#45701B #1C1B70 #701B70
monochromatic
#0F1906 #273F0F #45701B #63A127 #82CF37

Accessibility & contrast

On white

5.86
#45701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#45701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45701B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45701B#FFFFFF#000000##FFFFFF
##45701B1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#456B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #45701b;
/* rgb */ color: rgb(69, 112, 27);
/* oklch */ color: oklch(49.6% 0.123 132.8);
Tailwind
colors: {
  custom: {
    50: '#7d995e',
    500: '#45701b',
    950: '#000000',
  },
}
SCSS
$custom: #45701b;
$custom-light: #7d995e;
$custom-dark: #000000;
JSON
{
  "hex": "#45701b",
  "rgb": {
    "r": 69,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 90.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.12303,
    "h": 132.8
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#45701B
secondary
#7442A5
accent
#44E495
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45701B

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

Preview Lab → · Contrast checker → · Palette generator →

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