#AFB83E#AFB83E

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

Color values

HEX#AFB83E
RGBrgb(175, 184, 62)
HSLhsl(64, 50%, 48%)
HSVhsv(64, 66%, 72%)
CMYKcmyk(4.9%, 0%, 66.3%, 27.8%)
CIE-LABlab(72.06, -18.83, 58.34)
CIE-LCHlch(72.06, 61.30, 107.89°)
OKLaboklab(75.26% -0.0569 0.1315)
OKLCHoklch(75.26% 0.143 113.4)
XYZxyz(35.6902, 43.7435, 11.1197)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83E #473EB8
analogous
#B8843E #AFB83E #72B83E
triadic
#AFB83E #3EAFB8 #B83EAF
tetradic
#AFB83E #3EB884 #473EB8 #B83E72
square
#AFB83E #3EB884 #473EB8 #B83E72
split-complementary
#AFB83E #3E72B8 #843EB8
monochromatic
#585C1F #838A2F #AFB83E #C4CC67 #D6DB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB83E#FFFFFF#000000##000000
##AFB83E1.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)
#C5AF2D
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb83e;
/* rgb */ color: rgb(175, 184, 62);
/* oklch */ color: oklch(75.3% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd7a',
    500: '#afb83e',
    950: '#000000',
  },
}
SCSS
$custom: #afb83e;
$custom-light: #cacd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83e",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 62
  },
  "hsl": {
    "h": 64.426,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.14326,
    "h": 113.4
  },
  "luminance": 0.43743
}

Semantic roles & 50–950 ramp

primary
#AFB83E
secondary
#8F8BC7
accent
#4FD959
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB83E

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

Preview Lab → · Contrast checker → · Palette generator →

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