#5F6830#5F6830

#5F6830 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.6% C 0.080 H 117.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5F6830
RGBrgb(95, 104, 48)
HSLhsl(70, 37%, 30%)
HSVhsv(70, 54%, 41%)
CMYKcmyk(8.7%, 0%, 53.8%, 59.2%)
CIE-LABlab(42.07, -12.68, 30.07)
CIE-LCHlch(42.07, 32.63, 112.87°)
OKLaboklab(49.62% -0.0362 0.0711)
OKLCHoklch(49.62% 0.08 117)
XYZxyz(10.2033, 12.5470, 4.6800)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6830 #393068
analogous
#685530 #5F6830 #436830
triadic
#5F6830 #305F68 #68305F
tetradic
#5F6830 #306855 #393068 #683043
square
#5F6830 #306855 #393068 #683043
split-complementary
#5F6830 #304368 #553068
monochromatic
#13150A #393E1D #5F6830 #859243 #A7B55E

Accessibility & contrast

On white

5.98
#5F6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5F6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6830
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6830#FFFFFF#000000##FFFFFF
##5F68301.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632B
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#64635B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f6830;
/* rgb */ color: rgb(95, 104, 48);
/* oklch */ color: oklch(49.6% 0.080 117.0);
Tailwind
colors: {
  custom: {
    50: '#8e936a',
    500: '#5f6830',
    950: '#000000',
  },
}
SCSS
$custom: #5f6830;
$custom-light: #8e936a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6830",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 69.643,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.07978,
    "h": 117
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#5F6830
secondary
#655A99
accent
#5BCD6D
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5F6830

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

Preview Lab → · Contrast checker → · Palette generator →

#5F6830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva