#7C8233#7C8233

#7C8233 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.103 H 113.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7C8233
RGBrgb(124, 130, 51)
HSLhsl(65, 44%, 35%)
HSVhsv(65, 61%, 51%)
CMYKcmyk(4.6%, 0%, 60.8%, 49%)
CIE-LABlab(52.39, -13.65, 40.98)
CIE-LCHlch(52.39, 43.19, 108.42°)
OKLaboklab(58.48% -0.0404 0.0944)
OKLCHoklch(58.48% 0.103 113.2)
XYZxyz(16.8927, 20.4897, 6.1963)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8233 #393382
analogous
#826033 #7C8233 #548233
triadic
#7C8233 #337C82 #82337C
tetradic
#7C8233 #338260 #393382 #823354
square
#7C8233 #338260 #393382 #823354
split-complementary
#7C8233 #335482 #603382
monochromatic
#282A11 #525622 #7C8233 #A6AE44 #BEC56B

Accessibility & contrast

On white

4.12
#7C8233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7C8233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8233
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8233#FFFFFF#000000##000000
##7C82331.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2A
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#847B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8233;
/* rgb */ color: rgb(124, 130, 51);
/* oklch */ color: oklch(58.5% 0.103 113.2);
Tailwind
colors: {
  custom: {
    50: '#a4a66e',
    500: '#7c8233',
    950: '#000000',
  },
}
SCSS
$custom: #7c8233;
$custom-light: #a4a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8233",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 64.557,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.10268,
    "h": 113.2
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#7C8233
secondary
#6A64AD
accent
#54D35E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C8233

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

Preview Lab → · Contrast checker → · Palette generator →

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