#AFB83F#AFB83F

#AFB83F is a light, vivid yellow. Relative luminance 0.438; 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#AFB83F
RGBrgb(175, 184, 63)
HSLhsl(64, 49%, 48%)
HSVhsv(64, 66%, 72%)
CMYKcmyk(4.9%, 0%, 65.8%, 27.8%)
CIE-LABlab(72.06, -18.77, 57.94)
CIE-LCHlch(72.06, 60.91, 107.95°)
OKLaboklab(75.27% -0.0567 0.1308)
OKLCHoklch(75.27% 0.143 113.4)
XYZxyz(35.7179, 43.7545, 11.2656)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB83F #483FB8
analogous
#B8843F #AFB83F #72B83F
triadic
#AFB83F #3FAFB8 #B83FAF
tetradic
#AFB83F #3FB884 #483FB8 #B83F72
square
#AFB83F #3FB884 #483FB8 #B83F72
split-complementary
#AFB83F #3F72B8 #843FB8
monochromatic
#585D20 #848A2F #AFB83F #C4CC69 #D6DB96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afb83f;
/* rgb */ color: rgb(175, 184, 63);
/* oklch */ color: oklch(75.3% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd7a',
    500: '#afb83f',
    950: '#000000',
  },
}
SCSS
$custom: #afb83f;
$custom-light: #cacd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb83f",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 64.463,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75271,
    "c": 0.14254,
    "h": 113.4
  },
  "luminance": 0.43754
}

Semantic roles & 50–950 ramp

primary
#AFB83F
secondary
#908CC7
accent
#4FD959
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB83F

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

Preview Lab → · Contrast checker → · Palette generator →

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