#5A690F#5A690F

#5A690F is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.110 H 119.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A690F
RGBrgb(90, 105, 15)
HSLhsl(70, 75%, 24%)
HSVhsv(70, 86%, 41%)
CMYKcmyk(14.3%, 0%, 85.7%, 58.8%)
CIE-LABlab(41.71, -17.89, 43.93)
CIE-LCHlch(41.71, 47.43, 112.16°)
OKLaboklab(49.14% -0.0537 0.0955)
OKLCHoklch(49.14% 0.11 119.4)
XYZxyz(9.3545, 12.3114, 2.3354)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A690F #1E0F69
analogous
#694B0F #5A690F #2D690F
triadic
#5A690F #0F5A69 #690F5A
tetradic
#5A690F #0F694B #1E0F69 #690F2D
square
#5A690F #0F694B #1E0F69 #690F2D
split-complementary
#5A690F #0F2D69 #4B0F69
monochromatic
#171B04 #2C3307 #5A690F #889F17 #B6D41E

Accessibility & contrast

On white

6.07
#5A690F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A690F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A690F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A690F#FFFFFF#000000##FFFFFF
##5A690F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#606359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a690f;
/* rgb */ color: rgb(90, 105, 15);
/* oklch */ color: oklch(49.1% 0.110 119.4);
Tailwind
colors: {
  custom: {
    50: '#8c9357',
    500: '#5a690f',
    950: '#000000',
  },
}
SCSS
$custom: #5a690f;
$custom-light: #8c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5a690f",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 15
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.10957,
    "h": 119.4
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#5A690F
secondary
#4532A1
accent
#36F255
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A690F

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

Preview Lab → · Contrast checker → · Palette generator →

#5A690F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva