#AFB93E#AFB93E

#AFB93E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.144 H 113.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#AFB93E
RGBrgb(175, 185, 62)
HSLhsl(65, 50%, 48%)
HSVhsv(65, 66%, 73%)
CMYKcmyk(5.4%, 0%, 66.5%, 27.5%)
CIE-LABlab(72.34, -19.33, 58.62)
CIE-LCHlch(72.34, 61.73, 108.25°)
OKLaboklab(75.49% -0.0583 0.1321)
OKLCHoklch(75.49% 0.144 113.8)
XYZxyz(35.8986, 44.1604, 11.1892)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB93E #483EB9
analogous
#B9853E #AFB93E #71B93E
triadic
#AFB93E #3EAFB9 #B93EAF
tetradic
#AFB93E #3EB985 #483EB9 #B93E71
square
#AFB93E #3EB985 #483EB9 #B93E71
split-complementary
#AFB93E #3E71B9 #853EB9
monochromatic
#585D1F #848B2F #AFB93E #C4CC68 #D6DC96

Accessibility & contrast

On white

2.14
#AFB93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#AFB93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB93E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB93E#FFFFFF#000000##000000
##AFB93E1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02C
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb93e;
/* rgb */ color: rgb(175, 185, 62);
/* oklch */ color: oklch(75.5% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#cacd7a',
    500: '#afb93e',
    950: '#000000',
  },
}
SCSS
$custom: #afb93e;
$custom-light: #cacd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb93e",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 62
  },
  "hsl": {
    "h": 64.878,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75486,
    "c": 0.14438,
    "h": 113.8
  },
  "luminance": 0.4416
}

Semantic roles & 50–950 ramp

primary
#AFB93E
secondary
#908CC7
accent
#4ED95A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB93E

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

Preview Lab → · Contrast checker → · Palette generator →

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