#536212#536212

#536212 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.8% C 0.102 H 120.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#536212
RGBrgb(83, 98, 18)
HSLhsl(71, 69%, 23%)
HSVhsv(71, 82%, 38%)
CMYKcmyk(15.3%, 0%, 81.6%, 61.6%)
CIE-LABlab(38.93, -17.24, 40.25)
CIE-LCHlch(38.93, 43.79, 113.19°)
OKLaboklab(46.77% -0.0513 0.0885)
OKLCHoklch(46.77% 0.102 120.1)
XYZxyz(8.0443, 10.6181, 2.1979)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#536212 #211262
analogous
#624912 #536212 #2B6212
triadic
#536212 #125362 #621253
tetradic
#536212 #126249 #211262 #62122B
square
#536212 #126249 #211262 #62122B
split-complementary
#536212 #122B62 #491262
monochromatic
#161A05 #272E09 #536212 #7F961B #ABC925

Accessibility & contrast

On white

6.72
#536212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#536212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #536212
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##536212#FFFFFF#000000##FFFFFF
##5362121.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#585C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #536212;
/* rgb */ color: rgb(83, 98, 18);
/* oklch */ color: oklch(46.8% 0.102 120.1);
Tailwind
colors: {
  custom: {
    50: '#868e57',
    500: '#536212',
    950: '#000000',
  },
}
SCSS
$custom: #536212;
$custom-light: #868e57;
$custom-dark: #000000;
JSON
{
  "hex": "#536212",
  "rgb": {
    "r": 83,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 71.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.10229,
    "h": 120.1
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#536212
secondary
#49369A
accent
#3CEC5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #536212

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

Preview Lab → · Contrast checker → · Palette generator →

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