#AFB93D#AFB93D

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

Color values

HEX#AFB93D
RGBrgb(175, 185, 61)
HSLhsl(65, 50%, 48%)
HSVhsv(65, 67%, 73%)
CMYKcmyk(5.4%, 0%, 67%, 27.5%)
CIE-LABlab(72.33, -19.39, 59.01)
CIE-LCHlch(72.33, 62.12, 108.19°)
OKLaboklab(75.48% -0.0586 0.1327)
OKLCHoklch(75.48% 0.145 113.8)
XYZxyz(35.8714, 44.1495, 11.0460)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB93D #473DB9
analogous
#B9853D #AFB93D #71B93D
triadic
#AFB93D #3DAFB9 #B93DAF
tetradic
#AFB93D #3DB985 #473DB9 #B93D71
square
#AFB93D #3DB985 #473DB9 #B93D71
split-complementary
#AFB93D #3D71B9 #853DB9
monochromatic
#585D1F #838B2E #AFB93D #C4CD66 #D6DC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB93D#FFFFFF#000000##000000
##AFB93D1.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)
#C6B02B
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb93d;
/* rgb */ color: rgb(175, 185, 61);
/* oklch */ color: oklch(75.5% 0.145 113.8);
Tailwind
colors: {
  custom: {
    50: '#cacd79',
    500: '#afb93d',
    950: '#000000',
  },
}
SCSS
$custom: #afb93d;
$custom-light: #cacd79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb93d",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 61
  },
  "hsl": {
    "h": 64.839,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75478,
    "c": 0.14509,
    "h": 113.8
  },
  "luminance": 0.44149
}

Semantic roles & 50–950 ramp

primary
#AFB93D
secondary
#8F8BC7
accent
#4EDA59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB93D

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

Preview Lab → · Contrast checker → · Palette generator →

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