#536812#536812

#536812 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.110 H 123.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#536812
RGBrgb(83, 104, 18)
HSLhsl(75, 70%, 24%)
HSVhsv(75, 83%, 41%)
CMYKcmyk(20.2%, 0%, 82.7%, 59.2%)
CIE-LABlab(40.87, -20.42, 42.04)
CIE-LCHlch(40.87, 46.74, 115.91°)
OKLaboklab(48.33% -0.06 0.0923)
OKLCHoklch(48.33% 0.11 123)
XYZxyz(8.6269, 11.7833, 2.3921)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#536812 #271268
analogous
#685212 #536812 #286812
triadic
#536812 #125368 #681253
tetradic
#536812 #126852 #271268 #681228
square
#536812 #126852 #271268 #681228
split-complementary
#536812 #122868 #521268
monochromatic
#151A05 #293409 #536812 #7D9C1B #A6D024

Accessibility & contrast

On white

6.26
#536812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#536812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #536812
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##536812#FFFFFF#000000##FFFFFF
##5368121.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#586258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #536812;
/* rgb */ color: rgb(83, 104, 18);
/* oklch */ color: oklch(48.3% 0.110 123.0);
Tailwind
colors: {
  custom: {
    50: '#869358',
    500: '#536812',
    950: '#000000',
  },
}
SCSS
$custom: #536812;
$custom-light: #869358;
$custom-dark: #000000;
JSON
{
  "hex": "#536812",
  "rgb": {
    "r": 83,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 74.651,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.11008,
    "h": 123
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#536812
secondary
#5036A0
accent
#3BED66
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #536812

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

Preview Lab → · Contrast checker → · Palette generator →

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