#AFB725#AFB725

#AFB725 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.157 H 112.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#AFB725
RGBrgb(175, 183, 37)
HSLhsl(63, 66%, 43%)
HSVhsv(63, 80%, 72%)
CMYKcmyk(4.4%, 0%, 79.8%, 28.2%)
CIE-LABlab(71.63, -19.53, 66.53)
CIE-LCHlch(71.63, 69.33, 106.36°)
OKLaboklab(74.88% -0.0611 0.1445)
OKLCHoklch(74.88% 0.157 112.9)
XYZxyz(34.9478, 43.1153, 8.2310)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB725 #2D25B7
analogous
#B77625 #AFB725 #66B725
triadic
#AFB725 #25AFB7 #B725AF
tetradic
#AFB725 #25B776 #2D25B7 #B72566
square
#AFB725 #25B776 #2D25B7 #B72566
split-complementary
#AFB725 #2566B7 #7625B7
monochromatic
#4E5110 #7E841B #AFB725 #D0D941 #DDE374

Accessibility & contrast

On white

2.18
#AFB725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#AFB725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB725
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB725#FFFFFF#000000##000000
##AFB7251.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B133
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb725;
/* rgb */ color: rgb(175, 183, 37);
/* oklch */ color: oklch(74.9% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#cbcc6e',
    500: '#afb725',
    950: '#000000',
  },
}
SCSS
$custom: #afb725;
$custom-light: #cbcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb725",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 37
  },
  "hsl": {
    "h": 63.288,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74878,
    "c": 0.15686,
    "h": 112.9
  },
  "luminance": 0.43115
}

Semantic roles & 50–950 ramp

primary
#AFB725
secondary
#736ECA
accent
#3FE948
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB725

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

Preview Lab → · Contrast checker → · Palette generator →

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