#758231#758231

#758231 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.107 H 117.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#758231
RGBrgb(117, 130, 49)
HSLhsl(70, 45%, 35%)
HSVhsv(70, 62%, 51%)
CMYKcmyk(10%, 0%, 62.3%, 49%)
CIE-LABlab(51.80, -16.90, 41.12)
CIE-LCHlch(51.80, 44.46, 112.35°)
OKLaboklab(57.87% -0.0493 0.0946)
OKLCHoklch(57.87% 0.107 117.6)
XYZxyz(15.8734, 19.9691, 5.9233)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#758231 #3E3182
analogous
#826731 #758231 #4C8231
triadic
#758231 #317582 #823175
tetradic
#758231 #318267 #3E3182 #82314C
square
#758231 #318267 #3E3182 #82314C
split-complementary
#758231 #314C82 #673182
monochromatic
#25290F #4D5620 #758231 #9DAE42 #B7C668

Accessibility & contrast

On white

4.21
#758231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#758231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #758231
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##758231#FFFFFF#000000##000000
##7582311.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#7C7B71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #758231;
/* rgb */ color: rgb(117, 130, 49);
/* oklch */ color: oklch(57.9% 0.107 117.6);
Tailwind
colors: {
  custom: {
    50: '#9fa66d',
    500: '#758231',
    950: '#000000',
  },
}
SCSS
$custom: #758231;
$custom-light: #9fa66d;
$custom-dark: #000000;
JSON
{
  "hex": "#758231",
  "rgb": {
    "r": 117,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 69.63,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.10667,
    "h": 117.6
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#758231
secondary
#6E62AD
accent
#53D568
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #758231

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

Preview Lab → · Contrast checker → · Palette generator →

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