#AFB93C#AFB93C

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

Color values

HEX#AFB93C
RGBrgb(175, 185, 60)
HSLhsl(65, 51%, 48%)
HSVhsv(65, 68%, 73%)
CMYKcmyk(5.4%, 0%, 67.6%, 27.5%)
CIE-LABlab(72.32, -19.45, 59.40)
CIE-LCHlch(72.32, 62.50, 108.13°)
OKLaboklab(75.47% -0.0589 0.1334)
OKLCHoklch(75.47% 0.146 113.8)
XYZxyz(35.8447, 44.1388, 10.9055)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB93C #463CB9
analogous
#B9843C #AFB93C #70B93C
triadic
#AFB93C #3CAFB9 #B93CAF
tetradic
#AFB93C #3CB984 #463CB9 #B93C70
square
#AFB93C #3CB984 #463CB9 #B93C70
split-complementary
#AFB93C #3C70B9 #843CB9
monochromatic
#585D1E #838B2D #AFB93C #C5CD65 #D6DC93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB93C#FFFFFF#000000##000000
##AFB93C1.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)
#C6B029
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb93c;
/* rgb */ color: rgb(175, 185, 60);
/* oklch */ color: oklch(75.5% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#cacd79',
    500: '#afb93c',
    950: '#000000',
  },
}
SCSS
$custom: #afb93c;
$custom-light: #cacd79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb93c",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 60
  },
  "hsl": {
    "h": 64.8,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7547,
    "c": 0.14579,
    "h": 113.8
  },
  "luminance": 0.44138
}

Semantic roles & 50–950 ramp

primary
#AFB93C
secondary
#8E89C7
accent
#4DDA59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB93C

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

Preview Lab → · Contrast checker → · Palette generator →

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