#AFB83D#AFB83D

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

Color values

HEX#AFB83D
RGBrgb(175, 184, 61)
HSLhsl(64, 50%, 48%)
HSVhsv(64, 67%, 72%)
CMYKcmyk(4.9%, 0%, 66.8%, 27.8%)
CIE-LABlab(72.05, -18.89, 58.73)
CIE-LCHlch(72.05, 61.69, 107.83°)
OKLaboklab(75.26% -0.0572 0.1321)
OKLCHoklch(75.26% 0.144 113.4)
XYZxyz(35.6630, 43.7326, 10.9765)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83D #463DB8
analogous
#B8833D #AFB83D #72B83D
triadic
#AFB83D #3DAFB8 #B83DAF
tetradic
#AFB83D #3DB883 #463DB8 #B83D72
square
#AFB83D #3DB883 #463DB8 #B83D72
split-complementary
#AFB83D #3D72B8 #833DB8
monochromatic
#585C1F #838A2E #AFB83D #C5CC66 #D6DB94

Accessibility & contrast

On white

2.15
#AFB83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#AFB83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB83D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB83D#FFFFFF#000000##000000
##AFB83D1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb83d;
/* rgb */ color: rgb(175, 184, 61);
/* oklch */ color: oklch(75.3% 0.144 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd79',
    500: '#afb83d',
    950: '#000000',
  },
}
SCSS
$custom: #afb83d;
$custom-light: #cacd79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83d",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 61
  },
  "hsl": {
    "h": 64.39,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.14398,
    "h": 113.4
  },
  "luminance": 0.43732
}

Semantic roles & 50–950 ramp

primary
#AFB83D
secondary
#8E8AC7
accent
#4EDA58
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB83D

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

Preview Lab → · Contrast checker → · Palette generator →

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