#AFB93B#AFB93B

#AFB93B 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#AFB93B
RGBrgb(175, 185, 59)
HSLhsl(65, 52%, 48%)
HSVhsv(65, 68%, 73%)
CMYKcmyk(5.4%, 0%, 68.1%, 27.5%)
CIE-LABlab(72.31, -19.51, 59.78)
CIE-LCHlch(72.31, 62.88, 108.08°)
OKLaboklab(75.46% -0.0591 0.134)
OKLCHoklch(75.46% 0.146 113.8)
XYZxyz(35.8186, 44.1283, 10.7676)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB93B #453BB9
analogous
#B9843B #AFB93B #70B93B
triadic
#AFB93B #3BAFB9 #B93BAF
tetradic
#AFB93B #3BB984 #453BB9 #B93B70
square
#AFB93B #3BB984 #453BB9 #B93B70
split-complementary
#AFB93B #3B70B9 #843BB9
monochromatic
#575C1D #838B2C #AFB93B #C5CD64 #D6DC92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB93B#FFFFFF#000000##000000
##AFB93B1.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)
#C6B028
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb93b;
/* rgb */ color: rgb(175, 185, 59);
/* oklch */ color: oklch(75.5% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#cacd78',
    500: '#afb93b',
    950: '#000000',
  },
}
SCSS
$custom: #afb93b;
$custom-light: #cacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#afb93b",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 64.762,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75462,
    "c": 0.14648,
    "h": 113.8
  },
  "luminance": 0.44128
}

Semantic roles & 50–950 ramp

primary
#AFB93B
secondary
#8D88C7
accent
#4DDB58
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB93B

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

Preview Lab → · Contrast checker → · Palette generator →

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