#7D8B2A#7D8B2A

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

Color values

HEX#7D8B2A
RGBrgb(125, 139, 42)
HSLhsl(69, 54%, 35%)
HSVhsv(69, 70%, 55%)
CMYKcmyk(10.1%, 0%, 69.8%, 45.5%)
CIE-LABlab(55.06, -18.61, 47.82)
CIE-LCHlch(55.06, 51.31, 111.26°)
OKLaboklab(60.62% -0.0553 0.1075)
OKLCHoklch(60.62% 0.121 117.2)
XYZxyz(18.1084, 22.9926, 5.6741)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B2A #382A8B
analogous
#8B682A #7D8B2A #4C8B2A
triadic
#7D8B2A #2A7D8B #8B2A7D
tetradic
#7D8B2A #2A8B68 #382A8B #8B2A4C
square
#7D8B2A #2A8B68 #382A8B #8B2A4C
split-complementary
#7D8B2A #2A4C8B #682A8B
monochromatic
#282D0E #535C1C #7D8B2A #A7BA38 #BFCF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8B2A#FFFFFF#000000##000000
##7D8B2A1.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)
#94831B
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#858378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8b2a;
/* rgb */ color: rgb(125, 139, 42);
/* oklch */ color: oklch(60.6% 0.121 117.2);
Tailwind
colors: {
  custom: {
    50: '#a5ac6a',
    500: '#7d8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b2a;
$custom-light: #a5ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b2a",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 68.66,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.12087,
    "h": 117.2
  },
  "luminance": 0.22992
}

Semantic roles & 50–950 ramp

primary
#7D8B2A
secondary
#695CB5
accent
#4BDD60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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