#AFB83B#AFB83B

#AFB83B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.145 H 113.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#AFB83B
RGBrgb(175, 184, 59)
HSLhsl(64, 51%, 48%)
HSVhsv(64, 68%, 72%)
CMYKcmyk(4.9%, 0%, 67.9%, 27.8%)
CIE-LABlab(72.04, -19.01, 59.50)
CIE-LCHlch(72.04, 62.46, 107.72°)
OKLaboklab(75.24% -0.0577 0.1334)
OKLCHoklch(75.24% 0.145 113.4)
XYZxyz(35.6101, 43.7114, 10.6981)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83B #443BB8
analogous
#B8823B #AFB83B #70B83B
triadic
#AFB83B #3BAFB8 #B83BAF
tetradic
#AFB83B #3BB882 #443BB8 #B83B70
square
#AFB83B #3BB882 #443BB8 #B83B70
split-complementary
#AFB83B #3B70B8 #823BB8
monochromatic
#575B1D #838A2C #AFB83B #C5CD63 #D7DC92

Accessibility & contrast

On white

2.16
#AFB83B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#AFB83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB83B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB83B#FFFFFF#000000##000000
##AFB83B1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF28
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb83b;
/* rgb */ color: rgb(175, 184, 59);
/* oklch */ color: oklch(75.2% 0.145 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd78',
    500: '#afb83b',
    950: '#000000',
  },
}
SCSS
$custom: #afb83b;
$custom-light: #cacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83b",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 59
  },
  "hsl": {
    "h": 64.32,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75239,
    "c": 0.14538,
    "h": 113.4
  },
  "luminance": 0.43711
}

Semantic roles & 50–950 ramp

primary
#AFB83B
secondary
#8C88C7
accent
#4DDB57
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB83B

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

Preview Lab → · Contrast checker → · Palette generator →

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