#AFB94A#AFB94A

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

Color values

HEX#AFB94A
RGBrgb(175, 185, 74)
HSLhsl(65, 44%, 51%)
HSVhsv(65, 60%, 73%)
CMYKcmyk(5.4%, 0%, 60%, 27.5%)
CIE-LABlab(72.43, -18.53, 53.69)
CIE-LCHlch(72.43, 56.80, 109.04°)
OKLaboklab(75.6% -0.0548 0.1234)
OKLCHoklch(75.6% 0.135 114)
XYZxyz(36.2650, 44.3069, 13.1189)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB94A #544AB9
analogous
#B98B4A #AFB94A #77B94A
triadic
#AFB94A #4AAFB9 #B94AAF
tetradic
#AFB94A #4AB98B #544AB9 #B94A77
square
#AFB94A #4AB98B #544AB9 #B94A77
split-complementary
#AFB94A #4A77B9 #8B4AB9
monochromatic
#5D6326 #878F37 #AFB94A #C3CA76 #D6DBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB94A#FFFFFF#000000##000000
##AFB94A1.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)
#C6B13D
Deuteranopia (green-blind)
#C5B351
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb94a;
/* rgb */ color: rgb(175, 185, 74);
/* oklch */ color: oklch(75.6% 0.135 114.0);
Tailwind
colors: {
  custom: {
    50: '#c9cd81',
    500: '#afb94a',
    950: '#000000',
  },
}
SCSS
$custom: #afb94a;
$custom-light: #c9cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#afb94a",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 65.405,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75596,
    "c": 0.135,
    "h": 114
  },
  "luminance": 0.44306
}

Semantic roles & 50–950 ramp

primary
#AFB94A
secondary
#9B97C8
accent
#54D45F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB94A

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

Preview Lab → · Contrast checker → · Palette generator →

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