#7B8923#7B8923

#7B8923 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.9% C 0.124 H 117.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B8923
RGBrgb(123, 137, 35)
HSLhsl(68, 59%, 34%)
HSVhsv(68, 74%, 54%)
CMYKcmyk(10.2%, 0%, 74.5%, 46.3%)
CIE-LABlab(54.26, -18.86, 49.71)
CIE-LCHlch(54.26, 53.16, 110.78°)
OKLaboklab(59.93% -0.0566 0.1103)
OKLCHoklch(59.93% 0.124 117.2)
XYZxyz(17.4178, 22.2238, 4.9618)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8923 #312389
analogous
#896423 #7B8923 #488923
triadic
#7B8923 #237B89 #89237B
tetradic
#7B8923 #238964 #312389 #892348
square
#7B8923 #238964 #312389 #892348
split-complementary
#7B8923 #234889 #642389
monochromatic
#23280A #4F5817 #7B8923 #A7BA2F #C2D353

Accessibility & contrast

On white

3.86
#7B8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7B8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8923
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8923#FFFFFF#000000##000000
##7B89231.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810F
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#838175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b8923;
/* rgb */ color: rgb(123, 137, 35);
/* oklch */ color: oklch(59.9% 0.124 117.2);
Tailwind
colors: {
  custom: {
    50: '#a4ab66',
    500: '#7b8923',
    950: '#000000',
  },
}
SCSS
$custom: #7b8923;
$custom-light: #a4ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8923",
  "rgb": {
    "r": 123,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 68.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.12396,
    "h": 117.2
  },
  "luminance": 0.22224
}

Semantic roles & 50–950 ramp

primary
#7B8923
secondary
#5F51B7
accent
#45E25B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B8923

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

Preview Lab → · Contrast checker → · Palette generator →

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