#7D8B2B#7D8B2B

#7D8B2B is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.6% C 0.120 H 117.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7D8B2B
RGBrgb(125, 139, 43)
HSLhsl(69, 53%, 36%)
HSVhsv(69, 69%, 55%)
CMYKcmyk(10.1%, 0%, 69.1%, 45.5%)
CIE-LABlab(55.07, -18.54, 47.42)
CIE-LCHlch(55.07, 50.91, 111.36°)
OKLaboklab(60.63% -0.0551 0.1068)
OKLCHoklch(60.63% 0.12 117.3)
XYZxyz(18.1265, 22.9998, 5.7695)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B2B #392B8B
analogous
#8B692B #7D8B2B #4D8B2B
triadic
#7D8B2B #2B7D8B #8B2B7D
tetradic
#7D8B2B #2B8B69 #392B8B #8B2B4D
square
#7D8B2B #2B8B69 #392B8B #8B2B4D
split-complementary
#7D8B2B #2B4D8B #692B8B
monochromatic
#292E0E #535C1D #7D8B2B #A7BA39 #BFCE62

Accessibility & contrast

On white

3.75
#7D8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7D8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B2B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B2B#FFFFFF#000000##000000
##7D8B2B1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94841D
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#858378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8b2b;
/* rgb */ color: rgb(125, 139, 43);
/* oklch */ color: oklch(60.6% 0.120 117.3);
Tailwind
colors: {
  custom: {
    50: '#a5ac6a',
    500: '#7d8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b2b;
$custom-light: #a5ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b2b",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 68.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.12013,
    "h": 117.3
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#7D8B2B
secondary
#6A5DB5
accent
#4CDC61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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