#45751B#45751B

#45751B is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.130 H 133.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#45751B
RGBrgb(69, 117, 27)
HSLhsl(92, 63%, 28%)
HSVhsv(92, 77%, 46%)
CMYKcmyk(41%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.33, -32.03, 41.80)
CIE-LCHlch(44.33, 52.66, 127.46°)
OKLaboklab(50.93% -0.0899 0.0937)
OKLCHoklch(50.93% 0.13 133.8)
XYZxyz(9.0132, 14.0665, 3.2769)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45751B #4B1B75
analogous
#72751B #45751B #1B751E
triadic
#45751B #1B4575 #751B45
tetradic
#45751B #1B7275 #4B1B75 #751E1B
square
#45751B #1B7275 #4B1B75 #751E1B
split-complementary
#45751B #1E1B75 #751B72
monochromatic
#0F1906 #284310 #45751B #62A726 #80D139

Accessibility & contrast

On white

5.51
#45751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#45751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45751B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45751B#FFFFFF#000000##FFFFFF
##45751B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#457064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #45751b;
/* rgb */ color: rgb(69, 117, 27);
/* oklch */ color: oklch(50.9% 0.130 133.8);
Tailwind
colors: {
  custom: {
    50: '#7d9d5e',
    500: '#45751b',
    950: '#000000',
  },
}
SCSS
$custom: #45751b;
$custom-light: #7d9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#45751b",
  "rgb": {
    "r": 69,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 92,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.12982,
    "h": 133.8
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#45751B
secondary
#7942A9
accent
#42E699
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45751B

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

Preview Lab → · Contrast checker → · Palette generator →

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