#7D8A33#7D8A33

#7D8A33 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.112 H 117.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7D8A33
RGBrgb(125, 138, 51)
HSLhsl(69, 46%, 37%)
HSVhsv(69, 63%, 54%)
CMYKcmyk(9.4%, 0%, 63%, 45.9%)
CIE-LABlab(54.84, -17.45, 43.69)
CIE-LCHlch(54.84, 47.05, 111.78°)
OKLaboklab(60.47% -0.0512 0.1001)
OKLCHoklch(60.47% 0.112 117.1)
XYZxyz(18.1438, 22.7761, 6.5717)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A33 #40338A
analogous
#8A6C33 #7D8A33 #518A33
triadic
#7D8A33 #337D8A #8A337D
tetradic
#7D8A33 #338A6C #40338A #8A3351
square
#7D8A33 #338A6C #40338A #8A3351
split-complementary
#7D8A33 #33518A #6C338A
monochromatic
#2C3112 #555D22 #7D8A33 #A5B744 #BCC96E

Accessibility & contrast

On white

3.78
#7D8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7D8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A33
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A33#FFFFFF#000000##000000
##7D8A331.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a33;
/* rgb */ color: rgb(125, 138, 51);
/* oklch */ color: oklch(60.5% 0.112 117.1);
Tailwind
colors: {
  custom: {
    50: '#a5ac6f',
    500: '#7d8a33',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a33;
$custom-light: #a5ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a33",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 68.966,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.11244,
    "h": 117.1
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#7D8A33
secondary
#7367B1
accent
#52D666
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7D8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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