#697A1F#697A1F

#697A1F is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.8% C 0.115 H 119.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#697A1F
RGBrgb(105, 122, 31)
HSLhsl(71, 59%, 30%)
HSVhsv(71, 75%, 48%)
CMYKcmyk(13.9%, 0%, 74.6%, 52.2%)
CIE-LABlab(48.29, -19.27, 44.94)
CIE-LCHlch(48.29, 48.90, 113.21°)
OKLaboklab(54.76% -0.057 0.1001)
OKLCHoklch(54.76% 0.115 119.7)
XYZxyz(13.0328, 17.0213, 3.8949)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697A1F #301F7A
analogous
#7A5E1F #697A1F #3B7A1F
triadic
#697A1F #1F697A #7A1F69
tetradic
#697A1F #1F7A5E #301F7A #7A1F3B
square
#697A1F #1F7A5E #301F7A #7A1F3B
split-complementary
#697A1F #1F3B7A #5E1F7A
monochromatic
#151806 #3F4913 #697A1F #93AB2B #B5CF44

Accessibility & contrast

On white

4.77
#697A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#697A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697A1F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697A1F#FFFFFF#000000##FFFFFF
##697A1F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#6F7368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #697a1f;
/* rgb */ color: rgb(105, 122, 31);
/* oklch */ color: oklch(54.8% 0.115 119.7);
Tailwind
colors: {
  custom: {
    50: '#97a062',
    500: '#697a1f',
    950: '#000000',
  },
}
SCSS
$custom: #697a1f;
$custom-light: #97a062;
$custom-dark: #000000;
JSON
{
  "hex": "#697a1f",
  "rgb": {
    "r": 105,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 71.209,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.11518,
    "h": 119.7
  },
  "luminance": 0.17021
}

Semantic roles & 50–950 ramp

primary
#697A1F
secondary
#5A47AD
accent
#45E363
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #697A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#697A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva