#AFBB4D#AFBB4D

#AFBB4D is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.135 H 114.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#AFBB4D
RGBrgb(175, 187, 77)
HSLhsl(67, 45%, 52%)
HSVhsv(67, 59%, 73%)
CMYKcmyk(6.4%, 0%, 58.8%, 26.7%)
CIE-LABlab(73.02, -19.31, 53.01)
CIE-LCHlch(73.02, 56.41, 110.01°)
OKLaboklab(76.07% -0.0567 0.1223)
OKLCHoklch(76.07% 0.135 114.9)
XYZxyz(36.7898, 45.1910, 13.8044)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB4D #594DBB
analogous
#BB904D #AFBB4D #78BB4D
triadic
#AFBB4D #4DAFBB #BB4DAF
tetradic
#AFBB4D #4DBB90 #594DBB #BB4D78
square
#AFBB4D #4DBB90 #594DBB #BB4D78
split-complementary
#AFBB4D #4D78BB #904DBB
monochromatic
#606627 #899338 #AFBB4D #C3CC79 #D7DDA6

Accessibility & contrast

On white

2.09
#AFBB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#AFBB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB4D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB4D#FFFFFF#000000##000000
##AFBB4D1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B241
Deuteranopia (green-blind)
#C7B454
Tritanopia (blue-blind)
#B9B1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb4d;
/* rgb */ color: rgb(175, 187, 77);
/* oklch */ color: oklch(76.1% 0.135 114.9);
Tailwind
colors: {
  custom: {
    50: '#c9cf83',
    500: '#afbb4d',
    950: '#000000',
  },
}
SCSS
$custom: #afbb4d;
$custom-light: #c9cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb4d",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 77
  },
  "hsl": {
    "h": 66.545,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76072,
    "c": 0.1348,
    "h": 114.9
  },
  "luminance": 0.4519
}

Semantic roles & 50–950 ramp

primary
#AFBB4D
secondary
#9F9ACA
accent
#53D461
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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