#495312#495312

#495312 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.087 H 118.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#495312
RGBrgb(73, 83, 18)
HSLhsl(69, 64%, 20%)
HSVhsv(69, 78%, 33%)
CMYKcmyk(12%, 0%, 78.3%, 67.5%)
CIE-LABlab(33.24, -13.69, 34.56)
CIE-LCHlch(33.24, 37.18, 111.61°)
OKLaboklab(41.98% -0.0409 0.0769)
OKLCHoklch(41.98% 0.087 118)
XYZxyz(5.9502, 7.6467, 1.7347)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495312 #1C1253
analogous
#533D12 #495312 #285312
triadic
#495312 #124953 #531249
tetradic
#495312 #12533D #1C1253 #531228
square
#495312 #12533D #1C1253 #531228
split-complementary
#495312 #122853 #3D1253
monochromatic
#161905 #1D2107 #495312 #75851D #A1B828

Accessibility & contrast

On white

8.30
#495312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#495312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495312
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495312#FFFFFF#000000##FFFFFF
##4953121.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#4E4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #495312;
/* rgb */ color: rgb(73, 83, 18);
/* oklch */ color: oklch(42.0% 0.087 118.0);
Tailwind
colors: {
  custom: {
    50: '#7e8355',
    500: '#495312',
    950: '#000000',
  },
}
SCSS
$custom: #495312;
$custom-light: #7e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#495312",
  "rgb": {
    "r": 73,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 69.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.08705,
    "h": 118
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#495312
secondary
#42358C
accent
#40E75A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495312

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

Preview Lab → · Contrast checker → · Palette generator →

#495312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva