#A7B23E#A7B23E

#A7B23E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.139 H 114.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A7B23E
RGBrgb(167, 178, 62)
HSLhsl(66, 48%, 47%)
HSVhsv(66, 65%, 70%)
CMYKcmyk(6.2%, 0%, 65.2%, 30.2%)
CIE-LABlab(69.76, -19.19, 55.76)
CIE-LCHlch(69.76, 58.97, 108.99°)
OKLaboklab(73.27% -0.0575 0.1262)
OKLCHoklch(73.27% 0.139 114.5)
XYZxyz(32.7271, 40.4046, 10.6313)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B23E #493EB2
analogous
#B2833E #A7B23E #6DB23E
triadic
#A7B23E #3EA7B2 #B23EA7
tetradic
#A7B23E #3EB283 #493EB2 #B23E6D
square
#A7B23E #3EB283 #493EB2 #B23E6D
split-complementary
#A7B23E #3E6DB2 #833EB2
monochromatic
#52571E #7C852E #A7B23E #BFC964 #D2D992

Accessibility & contrast

On white

2.31
#A7B23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A7B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B23E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B23E#FFFFFF#000000##000000
##A7B23E1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92E
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b23e;
/* rgb */ color: rgb(167, 178, 62);
/* oklch */ color: oklch(73.3% 0.139 114.5);
Tailwind
colors: {
  custom: {
    50: '#c4c879',
    500: '#a7b23e',
    950: '#000000',
  },
}
SCSS
$custom: #a7b23e;
$custom-light: #c4c879;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b23e",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 65.69,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73268,
    "c": 0.13871,
    "h": 114.5
  },
  "luminance": 0.40404
}

Semantic roles & 50–950 ramp

primary
#A7B23E
secondary
#8D88C4
accent
#50D85D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B23E

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

Preview Lab → · Contrast checker → · Palette generator →

#A7B23E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva