#7D8323#7D8323

#7D8323 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.116 H 113.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D8323
RGBrgb(125, 131, 35)
HSLhsl(64, 58%, 33%)
HSVhsv(64, 73%, 51%)
CMYKcmyk(4.6%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.64, -14.81, 48.18)
CIE-LCHlch(52.64, 50.41, 107.08°)
OKLaboklab(58.66% -0.0455 0.107)
OKLCHoklch(58.66% 0.116 113)
XYZxyz(16.8776, 20.7143, 4.6990)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8323 #292383
analogous
#835923 #7D8323 #4D8323
triadic
#7D8323 #237D83 #83237D
tetradic
#7D8323 #238359 #292383 #83234D
square
#7D8323 #238359 #292383 #83234D
split-complementary
#7D8323 #234D83 #592383
monochromatic
#212209 #4F5316 #7D8323 #ABB330 #C8D050

Accessibility & contrast

On white

4.08
#7D8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7D8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8323
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8323#FFFFFF#000000##000000
##7D83231.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#867B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d8323;
/* rgb */ color: rgb(125, 131, 35);
/* oklch */ color: oklch(58.7% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a665',
    500: '#7d8323',
    950: '#000000',
  },
}
SCSS
$custom: #7d8323;
$custom-light: #a6a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8323",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 63.75,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.11626,
    "h": 113
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#7D8323
secondary
#544EB4
accent
#47E150
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8323

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

Preview Lab → · Contrast checker → · Palette generator →

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