#7D7933#7D7933

#7D7933 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.092 H 106.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D7933
RGBrgb(125, 121, 51)
HSLhsl(57, 42%, 35%)
HSVhsv(57, 59%, 49%)
CMYKcmyk(0%, 3.2%, 59.2%, 51%)
CIE-LABlab(49.83, -8.28, 38.15)
CIE-LCHlch(49.83, 39.04, 102.24°)
OKLaboklab(56.46% -0.0253 0.0883)
OKLCHoklch(56.46% 0.092 106)
XYZxyz(15.8929, 18.2742, 5.8214)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7933 #33377D
analogous
#7D5433 #7D7933 #5C7D33
triadic
#7D7933 #337D79 #79337D
tetradic
#7D7933 #337D54 #33377D #7D335C
square
#7D7933 #337D54 #33377D #7D335C
split-complementary
#7D7933 #335C7D #54337D
monochromatic
#262510 #524F21 #7D7933 #A8A345 #C2BD69

Accessibility & contrast

On white

4.51
#7D7933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D7933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7933
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7933#FFFFFF#000000##000000
##7D79331.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#86726A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7933;
/* rgb */ color: rgb(125, 121, 51);
/* oklch */ color: oklch(56.5% 0.092 106.0);
Tailwind
colors: {
  custom: {
    50: '#a59f6d',
    500: '#7d7933',
    950: '#000000',
  },
}
SCSS
$custom: #7d7933;
$custom-light: #a59f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7933",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 56.757,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.09188,
    "h": 106
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#7D7933
secondary
#6266AA
accent
#5DD256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7D7933

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

Preview Lab → · Contrast checker → · Palette generator →

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