#AFBB3D#AFBB3D

#AFBB3D is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.147 H 114.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#AFBB3D
RGBrgb(175, 187, 61)
HSLhsl(66, 51%, 49%)
HSVhsv(66, 67%, 73%)
CMYKcmyk(6.4%, 0%, 67.4%, 26.7%)
CIE-LABlab(72.89, -20.39, 59.58)
CIE-LCHlch(72.89, 62.97, 108.89°)
OKLaboklab(75.93% -0.0614 0.1339)
OKLCHoklch(75.93% 0.147 114.6)
XYZxyz(36.2928, 44.9922, 11.1865)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3D #493DBB
analogous
#BB883D #AFBB3D #70BB3D
triadic
#AFBB3D #3DAFBB #BB3DAF
tetradic
#AFBB3D #3DBB88 #493DBB #BB3D70
square
#AFBB3D #3DBB88 #493DBB #BB3D70
split-complementary
#AFBB3D #3D70BB #883DBB
monochromatic
#595F1F #848D2E #AFBB3D #C4CE68 #D6DD96

Accessibility & contrast

On white

2.10
#AFBB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#AFBB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB3D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB3D#FFFFFF#000000##000000
##AFBB3D1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22A
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3d;
/* rgb */ color: rgb(175, 187, 61);
/* oklch */ color: oklch(75.9% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf7a',
    500: '#afbb3d',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3d;
$custom-light: #cacf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3d",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 61
  },
  "hsl": {
    "h": 65.714,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.14733,
    "h": 114.6
  },
  "luminance": 0.44992
}

Semantic roles & 50–950 ramp

primary
#AFBB3D
secondary
#918CC8
accent
#4EDA5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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