#FAF259#FAF259

#FAF259 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.0% C 0.169 H 106.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#FAF259
RGBrgb(250, 242, 89)
HSLhsl(57, 94%, 66%)
HSVhsv(57, 64%, 98%)
CMYKcmyk(0%, 3.2%, 64.4%, 2%)
CIE-LABlab(93.69, -14.94, 71.89)
CIE-LCHlch(93.69, 73.43, 101.74°)
OKLaboklab(94.05% -0.0475 0.1622)
OKLCHoklch(94.05% 0.169 106.3)
XYZxyz(72.9823, 84.5520, 21.9250)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF259 #5961FA
analogous
#FAA259 #FAF259 #B1FA59
triadic
#FAF259 #59FAF2 #F259FA
tetradic
#FAF259 #59FAA2 #5961FA #FA59B1
square
#FAF259 #59FAA2 #5961FA #FA59B1
split-complementary
#FAF259 #59B1FA #A259FA
monochromatic
#D2C806 #F8ED1E #FAF259 #FCF794 #FEFBD0

Accessibility & contrast

On white

1.17
#FAF259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#FAF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF259
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF259#FFFFFF#000000##000000
##FAF2591.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE945
Deuteranopia (green-blind)
#FFF063
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #faf259;
/* rgb */ color: rgb(250, 242, 89);
/* oklch */ color: oklch(94.0% 0.169 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff68f',
    500: '#faf259',
    950: '#000000',
  },
}
SCSS
$custom: #faf259;
$custom-light: #fff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf259",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 57.019,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94046,
    "c": 0.16899,
    "h": 106.3
  },
  "luminance": 0.8455
}

Semantic roles & 50–950 ramp

primary
#FAF259
secondary
#2A32CD
accent
#0BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF259

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

Preview Lab → · Contrast checker → · Palette generator →

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