#7B8323#7B8323

#7B8323 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.117 H 114.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7B8323
RGBrgb(123, 131, 35)
HSLhsl(65, 58%, 33%)
HSVhsv(65, 73%, 51%)
CMYKcmyk(6.1%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.47, -15.71, 47.97)
CIE-LCHlch(52.47, 50.47, 108.13°)
OKLaboklab(58.49% -0.0479 0.1066)
OKLCHoklch(58.49% 0.117 114.2)
XYZxyz(16.5885, 20.5652, 4.6854)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8323 #2B2383
analogous
#835B23 #7B8323 #4B8323
triadic
#7B8323 #237B83 #83237B
tetradic
#7B8323 #23835B #2B2383 #83234B
square
#7B8323 #23835B #2B2383 #83234B
split-complementary
#7B8323 #234B83 #5B2383
monochromatic
#202209 #4E5316 #7B8323 #A8B330 #C6D050

Accessibility & contrast

On white

4.11
#7B8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7B8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8323
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8323#FFFFFF#000000##000000
##7B83231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#837B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b8323;
/* rgb */ color: rgb(123, 131, 35);
/* oklch */ color: oklch(58.5% 0.117 114.2);
Tailwind
colors: {
  custom: {
    50: '#a4a665',
    500: '#7b8323',
    950: '#000000',
  },
}
SCSS
$custom: #7b8323;
$custom-light: #a4a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8323",
  "rgb": {
    "r": 123,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 65,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.11686,
    "h": 114.2
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#7B8323
secondary
#564EB4
accent
#47E154
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8323

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

Preview Lab → · Contrast checker → · Palette generator →

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