#7E8239#7E8239

#7E8239 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.096 H 111.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E8239
RGBrgb(126, 130, 57)
HSLhsl(63, 39%, 37%)
HSVhsv(63, 56%, 51%)
CMYKcmyk(3.1%, 0%, 56.2%, 49%)
CIE-LABlab(52.62, -12.26, 38.37)
CIE-LCHlch(52.62, 40.28, 107.72°)
OKLaboklab(58.73% -0.0359 0.0895)
OKLCHoklch(58.73% 0.096 111.9)
XYZxyz(17.3257, 20.6966, 6.9523)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8239 #3D3982
analogous
#826239 #7E8239 #5A8239
triadic
#7E8239 #397E82 #82397E
tetradic
#7E8239 #398262 #3D3982 #82395A
square
#7E8239 #398262 #3D3982 #82395A
split-complementary
#7E8239 #395A82 #623982
monochromatic
#2C2D14 #555726 #7E8239 #A7AD4C #BEC274

Accessibility & contrast

On white

4.09
#7E8239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7E8239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8239
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8239#FFFFFF#000000##000000
##7E82391.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D32
Deuteranopia (green-blind)
#8B7F3D
Tritanopia (blue-blind)
#867B72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8239;
/* rgb */ color: rgb(126, 130, 57);
/* oklch */ color: oklch(58.7% 0.096 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a672',
    500: '#7e8239',
    950: '#000000',
  },
}
SCSS
$custom: #7e8239;
$custom-light: #a5a672;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8239",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 63.288,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.09647,
    "h": 111.9
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#7E8239
secondary
#6F6CAB
accent
#59CF5F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7E8239

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva