#A7BC23#A7BC23

#A7BC23 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.166 H 117.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#A7BC23
RGBrgb(167, 188, 35)
HSLhsl(68, 69%, 44%)
HSVhsv(68, 81%, 74%)
CMYKcmyk(11.2%, 0%, 81.4%, 26.3%)
CIE-LABlab(72.43, -25.45, 67.54)
CIE-LCHlch(72.43, 72.17, 110.65°)
OKLaboklab(75.37% -0.0772 0.1466)
OKLCHoklch(75.37% 0.166 117.8)
XYZxyz(34.2238, 44.3036, 8.3383)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC23 #3823BC
analogous
#BC8423 #A7BC23 #5ABC23
triadic
#A7BC23 #23A7BC #BC23A7
tetradic
#A7BC23 #23BC84 #3823BC #BC235A
square
#A7BC23 #23BC84 #3823BC #BC235A
split-complementary
#A7BC23 #235ABC #8423BC
monochromatic
#4B5510 #798819 #A7BC23 #C6DC41 #D6E574

Accessibility & contrast

On white

2.13
#A7BC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#A7BC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC23
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC23#FFFFFF#000000##000000
##A7BC231.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B233
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc23;
/* rgb */ color: rgb(167, 188, 35);
/* oklch */ color: oklch(75.4% 0.166 117.8);
Tailwind
colors: {
  custom: {
    50: '#c5d06d',
    500: '#a7bc23',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc23;
$custom-light: #c5d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc23",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 68.235,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75366,
    "c": 0.16568,
    "h": 117.8
  },
  "luminance": 0.44303
}

Semantic roles & 50–950 ramp

primary
#A7BC23
secondary
#7B6FCC
accent
#3CEB54
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC23

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

Preview Lab → · Contrast checker → · Palette generator →

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