#AFB83A#AFB83A

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

Color values

HEX#AFB83A
RGBrgb(175, 184, 58)
HSLhsl(64, 52%, 47%)
HSVhsv(64, 68%, 72%)
CMYKcmyk(4.9%, 0%, 68.5%, 27.8%)
CIE-LABlab(72.03, -19.07, 59.88)
CIE-LCHlch(72.03, 62.84, 107.66°)
OKLaboklab(75.23% -0.058 0.1341)
OKLCHoklch(75.23% 0.146 113.4)
XYZxyz(35.5844, 43.7012, 10.5628)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83A #433AB8
analogous
#B8823A #AFB83A #70B83A
triadic
#AFB83A #3AAFB8 #B83AAF
tetradic
#AFB83A #3AB882 #433AB8 #B83A70
square
#AFB83A #3AB882 #433AB8 #B83A70
split-complementary
#AFB83A #3A70B8 #823AB8
monochromatic
#565B1D #83892B #AFB83A #C6CD62 #D7DC90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB83A#FFFFFF#000000##000000
##AFB83A1.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)
#C5AF26
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb83a;
/* rgb */ color: rgb(175, 184, 58);
/* oklch */ color: oklch(75.2% 0.146 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd78',
    500: '#afb83a',
    950: '#000000',
  },
}
SCSS
$custom: #afb83a;
$custom-light: #cacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83a",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 58
  },
  "hsl": {
    "h": 64.286,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.14606,
    "h": 113.4
  },
  "luminance": 0.437
}

Semantic roles & 50–950 ramp

primary
#AFB83A
secondary
#8B87C7
accent
#4CDC57
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB83A

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

Preview Lab → · Contrast checker → · Palette generator →

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