#A7B23F#A7B23F

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

Color values

HEX#A7B23F
RGBrgb(167, 178, 63)
HSLhsl(66, 48%, 47%)
HSVhsv(66, 65%, 70%)
CMYKcmyk(6.2%, 0%, 64.6%, 30.2%)
CIE-LABlab(69.76, -19.13, 55.35)
CIE-LCHlch(69.76, 58.57, 109.06°)
OKLaboklab(73.28% -0.0572 0.1255)
OKLCHoklch(73.28% 0.138 114.5)
XYZxyz(32.7548, 40.4157, 10.7772)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B23F #4A3FB2
analogous
#B2843F #A7B23F #6EB23F
triadic
#A7B23F #3FA7B2 #B23FA7
tetradic
#A7B23F #3FB284 #4A3FB2 #B23F6E
square
#A7B23F #3FB284 #4A3FB2 #B23F6E
split-complementary
#A7B23F #3F6EB2 #843FB2
monochromatic
#52581F #7D852F #A7B23F #BFC966 #D2D993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B23F#FFFFFF#000000##000000
##A7B23F1.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)
#BEA930
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b23f;
/* rgb */ color: rgb(167, 178, 63);
/* oklch */ color: oklch(73.3% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#c4c87a',
    500: '#a7b23f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b23f;
$custom-light: #c4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b23f",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 65.739,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.13795,
    "h": 114.5
  },
  "luminance": 0.40415
}

Semantic roles & 50–950 ramp

primary
#A7B23F
secondary
#8E89C4
accent
#50D75D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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