#AFBA4A#AFBA4A

#AFBA4A is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.136 H 114.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#AFBA4A
RGBrgb(175, 186, 74)
HSLhsl(66, 45%, 51%)
HSVhsv(66, 60%, 73%)
CMYKcmyk(5.9%, 0%, 60.2%, 27.1%)
CIE-LABlab(72.71, -19.03, 53.99)
CIE-LCHlch(72.71, 57.25, 109.42°)
OKLaboklab(75.82% -0.0562 0.124)
OKLCHoklch(75.82% 0.136 114.4)
XYZxyz(36.4749, 44.7268, 13.1889)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA4A #554ABA
analogous
#BA8D4A #AFBA4A #77BA4A
triadic
#AFBA4A #4AAFBA #BA4AAF
tetradic
#AFBA4A #4ABA8D #554ABA #BA4A77
square
#AFBA4A #4ABA8D #554ABA #BA4A77
split-complementary
#AFBA4A #4A77BA #8D4ABA
monochromatic
#5E6426 #879037 #AFBA4A #C3CB76 #D6DCA3

Accessibility & contrast

On white

2.11
#AFBA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#AFBA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA4A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA4A#FFFFFF#000000##000000
##AFBA4A1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13D
Deuteranopia (green-blind)
#C6B351
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afba4a;
/* rgb */ color: rgb(175, 186, 74);
/* oklch */ color: oklch(75.8% 0.136 114.4);
Tailwind
colors: {
  custom: {
    50: '#c9ce81',
    500: '#afba4a',
    950: '#000000',
  },
}
SCSS
$custom: #afba4a;
$custom-light: #c9ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#afba4a",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 65.893,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75819,
    "c": 0.13617,
    "h": 114.4
  },
  "luminance": 0.44726
}

Semantic roles & 50–950 ramp

primary
#AFBA4A
secondary
#9C97C9
accent
#53D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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