#698228#698228

#698228 is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.119 H 123.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#698228
RGBrgb(105, 130, 40)
HSLhsl(77, 53%, 33%)
HSVhsv(77, 69%, 51%)
CMYKcmyk(19.2%, 0%, 69.2%, 49%)
CIE-LABlab(50.83, -22.80, 43.84)
CIE-LCHlch(50.83, 49.42, 117.48°)
OKLaboklab(56.83% -0.0659 0.0993)
OKLCHoklch(56.83% 0.119 123.6)
XYZxyz(14.1915, 19.1216, 4.9503)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#698228 #412882
analogous
#826E28 #698228 #3C8228
triadic
#698228 #286982 #822869
tetradic
#698228 #28826E #412882 #82283C
square
#698228 #28826E #412882 #82283C
split-complementary
#698228 #283C82 #6E2882
monochromatic
#1D240B #43531A #698228 #8FB136 #ACCC59

Accessibility & contrast

On white

4.35
#698228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#698228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #698228
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##698228#FFFFFF#000000##000000
##6982281.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1B
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#6E7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #698228;
/* rgb */ color: rgb(105, 130, 40);
/* oklch */ color: oklch(56.8% 0.119 123.6);
Tailwind
colors: {
  custom: {
    50: '#96a667',
    500: '#698228',
    950: '#000000',
  },
}
SCSS
$custom: #698228;
$custom-light: #96a667;
$custom-dark: #000000;
JSON
{
  "hex": "#698228",
  "rgb": {
    "r": 105,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 76.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.11916,
    "h": 123.6
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#698228
secondary
#6E55B1
accent
#4BDC74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #698228

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

Preview Lab → · Contrast checker → · Palette generator →

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