#AFB84E#AFB84E

#AFB84E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.130 H 113.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#AFB84E
RGBrgb(175, 184, 78)
HSLhsl(65, 43%, 51%)
HSVhsv(65, 58%, 72%)
CMYKcmyk(4.9%, 0%, 57.6%, 27.8%)
CIE-LABlab(72.19, -17.72, 51.64)
CIE-LCHlch(72.19, 54.59, 108.94°)
OKLaboklab(75.41% -0.0521 0.1195)
OKLCHoklch(75.41% 0.13 113.6)
XYZxyz(36.1956, 43.9456, 13.7819)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB84E #574EB8
analogous
#B88C4E #AFB84E #7AB84E
triadic
#AFB84E #4EAFB8 #B84EAF
tetradic
#AFB84E #4EB88C #574EB8 #B84E7A
square
#AFB84E #4EB88C #574EB8 #B84E7A
split-complementary
#AFB84E #4E7AB8 #8C4EB8
monochromatic
#5F6428 #888F39 #AFB84E #C3CA7A #D6DBA5

Accessibility & contrast

On white

2.15
#AFB84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#AFB84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB84E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB84E#FFFFFF#000000##000000
##AFB84E1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B043
Deuteranopia (green-blind)
#C4B254
Tritanopia (blue-blind)
#B9AEA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb84e;
/* rgb */ color: rgb(175, 184, 78);
/* oklch */ color: oklch(75.4% 0.130 113.6);
Tailwind
colors: {
  custom: {
    50: '#c9cd83',
    500: '#afb84e',
    950: '#000000',
  },
}
SCSS
$custom: #afb84e;
$custom-light: #c9cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afb84e",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 65.094,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75415,
    "c": 0.13038,
    "h": 113.6
  },
  "luminance": 0.43945
}

Semantic roles & 50–950 ramp

primary
#AFB84E
secondary
#9E9AC8
accent
#55D360
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB84E

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

Preview Lab → · Contrast checker → · Palette generator →

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