#AFBC39#AFBC39

#AFBC39 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.1% C 0.151 H 115.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFBC39
RGBrgb(175, 188, 57)
HSLhsl(66, 53%, 48%)
HSVhsv(66, 70%, 74%)
CMYKcmyk(6.9%, 0%, 69.7%, 26.3%)
CIE-LABlab(73.14, -21.12, 61.36)
CIE-LCHlch(73.14, 64.89, 108.99°)
OKLaboklab(76.12% -0.0638 0.137)
OKLCHoklch(76.12% 0.151 115)
XYZxyz(36.4019, 45.3764, 10.7110)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC39 #4639BC
analogous
#BC8739 #AFBC39 #6EBC39
triadic
#AFBC39 #39AFBC #BC39AF
tetradic
#AFBC39 #39BC87 #4639BC #BC396E
square
#AFBC39 #39BC87 #4639BC #BC396E
split-complementary
#AFBC39 #396EBC #8739BC
monochromatic
#585E1D #838D2B #AFBC39 #C5D063 #D6DE92

Accessibility & contrast

On white

2.08
#AFBC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#AFBC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC39
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC39#FFFFFF#000000##000000
##AFBC391.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B323
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc39;
/* rgb */ color: rgb(175, 188, 57);
/* oklch */ color: oklch(76.1% 0.151 115.0);
Tailwind
colors: {
  custom: {
    50: '#cad078',
    500: '#afbc39',
    950: '#000000',
  },
}
SCSS
$custom: #afbc39;
$custom-light: #cad078;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc39",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 57
  },
  "hsl": {
    "h": 65.954,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76119,
    "c": 0.15115,
    "h": 115
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#AFBC39
secondary
#8E88C9
accent
#4BDD59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC39

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

Preview Lab → · Contrast checker → · Palette generator →

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