#707228#707228

#707228 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.5% C 0.096 H 110.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#707228
RGBrgb(112, 114, 40)
HSLhsl(62, 48%, 30%)
HSVhsv(62, 65%, 45%)
CMYKcmyk(1.8%, 0%, 64.9%, 55.3%)
CIE-LABlab(46.49, -11.19, 39.45)
CIE-LCHlch(46.49, 41.00, 105.84°)
OKLaboklab(53.48% -0.034 0.0898)
OKLCHoklch(53.48% 0.096 110.7)
XYZxyz(13.0828, 15.6329, 4.3354)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707228 #2A2872
analogous
#724F28 #707228 #4B7228
triadic
#707228 #287072 #722870
tetradic
#707228 #28724F #2A2872 #72284B
square
#707228 #28724F #2A2872 #72284B
split-complementary
#707228 #284B72 #4F2872
monochromatic
#171708 #434518 #707228 #9D9F38 #BFC252

Accessibility & contrast

On white

5.09
#707228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#707228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707228
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707228#FFFFFF#000000##FFFFFF
##7072281.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1F
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#786B63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #707228;
/* rgb */ color: rgb(112, 114, 40);
/* oklch */ color: oklch(53.5% 0.096 110.7);
Tailwind
colors: {
  custom: {
    50: '#9b9a66',
    500: '#707228',
    950: '#000000',
  },
}
SCSS
$custom: #707228;
$custom-light: #9b9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#707228",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 61.622,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.09604,
    "h": 110.7
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#707228
secondary
#5452A4
accent
#50D854
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #707228

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

Preview Lab → · Contrast checker → · Palette generator →

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