#7D8923#7D8923

#7D8923 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.123 H 116.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7D8923
RGBrgb(125, 137, 35)
HSLhsl(67, 59%, 34%)
HSVhsv(67, 74%, 54%)
CMYKcmyk(8.8%, 0%, 74.5%, 46.3%)
CIE-LABlab(54.42, -17.97, 49.91)
CIE-LCHlch(54.42, 53.05, 109.80°)
OKLaboklab(60.09% -0.0543 0.1107)
OKLCHoklch(60.09% 0.123 116.1)
XYZxyz(17.7069, 22.3729, 4.9754)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8923 #2F2389
analogous
#896223 #7D8923 #4A8923
triadic
#7D8923 #237D89 #89237D
tetradic
#7D8923 #238962 #2F2389 #89234A
square
#7D8923 #238962 #2F2389 #89234A
split-complementary
#7D8923 #234A89 #622389
monochromatic
#24280A #515817 #7D8923 #A9BA2F #C4D353

Accessibility & contrast

On white

3.84
#7D8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7D8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8923
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8923#FFFFFF#000000##000000
##7D89231.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8923;
/* rgb */ color: rgb(125, 137, 35);
/* oklch */ color: oklch(60.1% 0.123 116.1);
Tailwind
colors: {
  custom: {
    50: '#a6ab66',
    500: '#7d8923',
    950: '#000000',
  },
}
SCSS
$custom: #7d8923;
$custom-light: #a6ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8923",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 67.059,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.12324,
    "h": 116.1
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#7D8923
secondary
#5D51B7
accent
#45E258
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8923

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

Preview Lab → · Contrast checker → · Palette generator →

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