#7B8723#7B8723

#7B8723 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.4% C 0.122 H 116.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7B8723
RGBrgb(123, 135, 35)
HSLhsl(67, 59%, 33%)
HSVhsv(67, 74%, 53%)
CMYKcmyk(8.9%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.66, -17.82, 49.13)
CIE-LCHlch(53.66, 52.26, 109.93°)
OKLaboklab(59.45% -0.0537 0.1091)
OKLCHoklch(59.45% 0.122 116.2)
XYZxyz(17.1362, 21.6605, 4.8680)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8723 #2F2387
analogous
#876123 #7B8723 #498723
triadic
#7B8723 #237B87 #87237B
tetradic
#7B8723 #238761 #2F2387 #872349
square
#7B8723 #238761 #2F2387 #872349
split-complementary
#7B8723 #234987 #612387
monochromatic
#22260A #4F5616 #7B8723 #A7B830 #C3D252

Accessibility & contrast

On white

3.94
#7B8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7B8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8723
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8723#FFFFFF#000000##000000
##7B87231.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#837F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b8723;
/* rgb */ color: rgb(123, 135, 35);
/* oklch */ color: oklch(59.4% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#a4a965',
    500: '#7b8723',
    950: '#000000',
  },
}
SCSS
$custom: #7b8723;
$custom-light: #a4a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8723",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 67.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.12157,
    "h": 116.2
  },
  "luminance": 0.2166
}

Semantic roles & 50–950 ramp

primary
#7B8723
secondary
#5C50B6
accent
#46E259
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B8723

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

Preview Lab → · Contrast checker → · Palette generator →

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