#AFBB3C#AFBB3C

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

Color values

HEX#AFBB3C
RGBrgb(175, 187, 60)
HSLhsl(66, 51%, 48%)
HSVhsv(66, 68%, 73%)
CMYKcmyk(6.4%, 0%, 67.9%, 26.7%)
CIE-LABlab(72.88, -20.45, 59.96)
CIE-LCHlch(72.88, 63.35, 108.83°)
OKLaboklab(75.92% -0.0616 0.1346)
OKLCHoklch(75.92% 0.148 114.6)
XYZxyz(36.2661, 44.9815, 11.0459)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3C #483CBB
analogous
#BB873C #AFBB3C #6FBB3C
triadic
#AFBB3C #3CAFBB #BB3CAF
tetradic
#AFBB3C #3CBB87 #483CBB #BB3C6F
square
#AFBB3C #3CBB87 #483CBB #BB3C6F
split-complementary
#AFBB3C #3C6FBB #873CBB
monochromatic
#585E1E #848D2D #AFBB3C #C4CE66 #D6DD95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB3C#FFFFFF#000000##000000
##AFBB3C1.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)
#C8B229
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3c;
/* rgb */ color: rgb(175, 187, 60);
/* oklch */ color: oklch(75.9% 0.148 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf79',
    500: '#afbb3c',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3c;
$custom-light: #cacf79;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3c",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 65.669,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75918,
    "c": 0.14802,
    "h": 114.6
  },
  "luminance": 0.44981
}

Semantic roles & 50–950 ramp

primary
#AFBB3C
secondary
#908BC8
accent
#4DDB5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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