#495F0C#495F0C

#495F0C is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.106 H 124.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#495F0C
RGBrgb(73, 95, 12)
HSLhsl(76, 78%, 21%)
HSVhsv(76, 87%, 37%)
CMYKcmyk(23.2%, 0%, 87.4%, 62.7%)
CIE-LABlab(37.17, -20.52, 40.32)
CIE-LCHlch(37.17, 45.24, 116.97°)
OKLaboklab(45.14% -0.0601 0.0879)
OKLCHoklch(45.14% 0.106 124.4)
XYZxyz(6.9063, 9.6274, 1.8422)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495F0C #220C5F
analogous
#5F4B0C #495F0C #1F5F0C
triadic
#495F0C #0C495F #5F0C49
tetradic
#495F0C #0C5F4B #220C5F #5F0C1F
square
#495F0C #0C5F4B #220C5F #5F0C1F
split-complementary
#495F0C #0C1F5F #4B0C5F
monochromatic
#151B03 #1F2905 #495F0C #739513 #9DCC1A

Accessibility & contrast

On white

7.18
#495F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#495F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495F0C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495F0C#FFFFFF#000000##FFFFFF
##495F0C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#4D5A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #495f0c;
/* rgb */ color: rgb(73, 95, 12);
/* oklch */ color: oklch(45.1% 0.106 124.4);
Tailwind
colors: {
  custom: {
    50: '#7f8c54',
    500: '#495f0c',
    950: '#000000',
  },
}
SCSS
$custom: #495f0c;
$custom-light: #7f8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#495f0c",
  "rgb": {
    "r": 73,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 75.904,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.10647,
    "h": 124.4
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#495F0C
secondary
#4A2D99
accent
#34F467
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #495F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#495F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva