#7D892B#7D892B

#7D892B is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.118 H 116.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D892B
RGBrgb(125, 137, 43)
HSLhsl(68, 52%, 35%)
HSVhsv(68, 69%, 54%)
CMYKcmyk(8.8%, 0%, 68.6%, 46.3%)
CIE-LABlab(54.48, -17.50, 46.81)
CIE-LCHlch(54.48, 49.97, 110.50°)
OKLaboklab(60.15% -0.0521 0.1055)
OKLCHoklch(60.15% 0.118 116.3)
XYZxyz(17.8396, 22.4260, 5.6739)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D892B #372B89
analogous
#89662B #7D892B #4E892B
triadic
#7D892B #2B7D89 #892B7D
tetradic
#7D892B #2B8966 #372B89 #892B4E
square
#7D892B #2B8966 #372B89 #892B4E
split-complementary
#7D892B #2B4E89 #662B89
monochromatic
#282C0E #525A1C #7D892B #A7B83A #C0CD61

Accessibility & contrast

On white

3.83
#7D892B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7D892B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D892B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D892B#FFFFFF#000000##000000
##7D892B1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821D
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d892b;
/* rgb */ color: rgb(125, 137, 43);
/* oklch */ color: oklch(60.2% 0.118 116.3);
Tailwind
colors: {
  custom: {
    50: '#a5ab6a',
    500: '#7d892b',
    950: '#000000',
  },
}
SCSS
$custom: #7d892b;
$custom-light: #a5ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d892b",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 67.66,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.11768,
    "h": 116.3
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#7D892B
secondary
#675CB3
accent
#4CDC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D892B

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

Preview Lab → · Contrast checker → · Palette generator →

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