#758228#758228

#758228 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.114 H 117.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#758228
RGBrgb(117, 130, 40)
HSLhsl(69, 53%, 33%)
HSVhsv(69, 69%, 51%)
CMYKcmyk(10%, 0%, 69.2%, 49%)
CIE-LABlab(51.72, -17.56, 45.05)
CIE-LCHlch(51.72, 48.35, 111.30°)
OKLaboklab(57.78% -0.0521 0.1015)
OKLCHoklch(57.78% 0.114 117.2)
XYZxyz(15.7021, 19.9005, 5.0211)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#758228 #352882
analogous
#826228 #758228 #488228
triadic
#758228 #287582 #822875
tetradic
#758228 #288262 #352882 #822848
square
#758228 #288262 #352882 #822848
split-complementary
#758228 #284882 #622882
monochromatic
#21240B #4B531A #758228 #9FB136 #BBCC59

Accessibility & contrast

On white

4.22
#758228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#758228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #758228
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##758228#FFFFFF#000000##000000
##7582281.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1B
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#7C7B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #758228;
/* rgb */ color: rgb(117, 130, 40);
/* oklch */ color: oklch(57.8% 0.114 117.2);
Tailwind
colors: {
  custom: {
    50: '#9fa667',
    500: '#758228',
    950: '#000000',
  },
}
SCSS
$custom: #758228;
$custom-light: #9fa667;
$custom-dark: #000000;
JSON
{
  "hex": "#758228",
  "rgb": {
    "r": 117,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 68.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.11412,
    "h": 117.2
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#758228
secondary
#6255B1
accent
#4BDC60
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #758228

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

Preview Lab → · Contrast checker → · Palette generator →

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