#F2D67F#F2D67F

#F2D67F is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.111 H 92.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F2D67F
RGBrgb(242, 214, 127)
HSLhsl(45, 82%, 72%)
HSVhsv(45, 48%, 95%)
CMYKcmyk(0%, 11.6%, 47.5%, 5.1%)
CIE-LABlab(86.26, -1.39, 46.31)
CIE-LCHlch(86.26, 46.33, 91.72°)
OKLaboklab(88.11% -0.0041 0.1113)
OKLCHoklch(88.11% 0.111 92.1)
XYZxyz(64.4974, 68.5054, 29.9001)
Luminance0.6850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D67F #7F9BF2
analogous
#F29C7F #F2D67F #D5F27F
triadic
#F2D67F #7FF2D6 #D67FF2
tetradic
#F2D67F #7FF29C #7F9BF2 #F27FD5
square
#F2D67F #7FF29C #7F9BF2 #F27FD5
split-complementary
#F2D67F #7FD5F2 #9C7FF2
monochromatic
#E0AF17 #ECC447 #F2D67F #F8E8B7 #FCF6E3

Accessibility & contrast

On white

1.43
#F2D67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F2D67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D67F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D67F#FFFFFF#000000##000000
##F2D67F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d67f;
/* rgb */ color: rgb(242, 214, 127);
/* oklch */ color: oklch(88.1% 0.111 92.1);
Tailwind
colors: {
  custom: {
    50: '#f8e2a5',
    500: '#f2d67f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d67f;
$custom-light: #f8e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d67f",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 127
  },
  "hsl": {
    "h": 45.391,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88113,
    "c": 0.11138,
    "h": 92.1
  },
  "luminance": 0.68503
}

Semantic roles & 50–950 ramp

primary
#F2D67F
secondary
#4869CD
accent
#3CDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2D67F

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

Preview Lab → · Contrast checker → · Palette generator →

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