#526F12#526F12

#526F12 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.120 H 126.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#526F12
RGBrgb(82, 111, 18)
HSLhsl(79, 72%, 25%)
HSVhsv(79, 84%, 44%)
CMYKcmyk(26.1%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.07, -24.44, 44.02)
CIE-LCHlch(43.07, 50.35, 119.04°)
OKLaboklab(50.1% -0.0709 0.0965)
OKLCHoklch(50.1% 0.12 126.3)
XYZxyz(9.2734, 13.2062, 2.6326)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F12 #2F126F
analogous
#6F5E12 #526F12 #236F12
triadic
#526F12 #12526F #6F1252
tetradic
#526F12 #126F5E #2F126F #6F1223
square
#526F12 #126F5E #2F126F #6F1223
split-complementary
#526F12 #12236F #5E126F
monochromatic
#131A04 #2B3A09 #526F12 #79A41B #A0D823

Accessibility & contrast

On white

5.77
#526F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#526F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F12
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F12#FFFFFF#000000##FFFFFF
##526F121.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f12;
/* rgb */ color: rgb(82, 111, 18);
/* oklch */ color: oklch(50.1% 0.120 126.3);
Tailwind
colors: {
  custom: {
    50: '#869859',
    500: '#526f12',
    950: '#000000',
  },
}
SCSS
$custom: #526f12;
$custom-light: #869859;
$custom-dark: #000000;
JSON
{
  "hex": "#526f12",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 78.71,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.11974,
    "h": 126.3
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#526F12
secondary
#5937A6
accent
#39EF72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F12

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

Preview Lab → · Contrast checker → · Palette generator →

#526F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva