#AFBC4F#AFBC4F

#AFBC4F is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.134 H 115.3°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBC4F
RGBrgb(175, 188, 79)
HSLhsl(67, 45%, 52%)
HSVhsv(67, 58%, 74%)
CMYKcmyk(6.9%, 0%, 58%, 26.3%)
CIE-LABlab(73.31, -19.65, 52.44)
CIE-LCHlch(73.31, 56.00, 110.54°)
OKLaboklab(76.32% -0.0575 0.1213)
OKLCHoklch(76.32% 0.134 115.3)
XYZxyz(37.0744, 45.6454, 14.2530)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC4F #5C4FBC
analogous
#BC934F #AFBC4F #79BC4F
triadic
#AFBC4F #4FAFBC #BC4FAF
tetradic
#AFBC4F #4FBC93 #5C4FBC #BC4F79
square
#AFBC4F #4FBC93 #5C4FBC #BC4F79
split-complementary
#AFBC4F #4F79BC #934FBC
monochromatic
#616928 #8A9539 #AFBC4F #C3CD7B #D7DEA8

Accessibility & contrast

On white

2.07
#AFBC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#AFBC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC4F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC4F#FFFFFF#000000##000000
##AFBC4F1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B343
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc4f;
/* rgb */ color: rgb(175, 188, 79);
/* oklch */ color: oklch(76.3% 0.134 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9d084',
    500: '#afbc4f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc4f;
$custom-light: #c9d084;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc4f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 67.156,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76316,
    "c": 0.13426,
    "h": 115.3
  },
  "luminance": 0.45645
}

Semantic roles & 50–950 ramp

primary
#AFBC4F
secondary
#A19CCB
accent
#53D563
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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