#907F23#907F23

#907F23 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.110 H 98.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#907F23
RGBrgb(144, 127, 35)
HSLhsl(51, 61%, 35%)
HSVhsv(51, 76%, 56%)
CMYKcmyk(0%, 11.8%, 75.7%, 43.5%)
CIE-LABlab(53.20, -3.91, 49.32)
CIE-LCHlch(53.20, 49.48, 94.53°)
OKLaboklab(59.52% -0.0159 0.1087)
OKLCHoklch(59.52% 0.11 98.3)
XYZxyz(19.3953, 21.2304, 4.6660)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F23 #233490
analogous
#904823 #907F23 #6B9023
triadic
#907F23 #23907F #7F2390
tetradic
#907F23 #239048 #233490 #90236B
square
#907F23 #239048 #233490 #90236B
split-complementary
#907F23 #236B90 #482390
monochromatic
#2E280B #5F5417 #907F23 #C1AA2F #D6C257

Accessibility & contrast

On white

4.00
#907F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#907F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F23
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F23#FFFFFF#000000##000000
##907F231.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f23;
/* rgb */ color: rgb(144, 127, 35);
/* oklch */ color: oklch(59.5% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b4a365',
    500: '#907f23',
    950: '#000000',
  },
}
SCSS
$custom: #907f23;
$custom-light: #b4a365;
$custom-dark: #000000;
JSON
{
  "hex": "#907f23",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 50.642,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.10985,
    "h": 98.3
  },
  "luminance": 0.21229
}

Semantic roles & 50–950 ramp

primary
#907F23
secondary
#5464BA
accent
#5DE444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #907F23

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

Preview Lab → · Contrast checker → · Palette generator →

#907F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva