#F0C74E#F0C74E

#F0C74E is a very light, vivid orange. Relative luminance 0.599; OKLCH L 84.4% C 0.143 H 90.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#F0C74E
RGBrgb(240, 199, 78)
HSLhsl(45, 84%, 62%)
HSVhsv(45, 68%, 94%)
CMYKcmyk(0%, 17.1%, 67.5%, 5.9%)
CIE-LABlab(81.80, 1.91, 63.67)
CIE-LCHlch(81.80, 63.70, 88.28°)
OKLaboklab(84.39% 0 0.1434)
OKLCHoklch(84.39% 0.143 90)
XYZxyz(57.7368, 59.9256, 15.7320)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C74E #4E77F0
analogous
#F0764E #F0C74E #C8F04E
triadic
#F0C74E #4EF0C7 #C74EF0
tetradic
#F0C74E #4EF076 #4E77F0 #F04EC8
square
#F0C74E #4EF076 #4E77F0 #F04EC8
split-complementary
#F0C74E #4EC8F0 #764EF0
monochromatic
#B48B0F #EBB516 #F0C74E #F5D986 #FAEBBF

Accessibility & contrast

On white

1.62
#F0C74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#F0C74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C74E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C74E#FFFFFF#000000##000000
##F0C74E1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53F
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f0c74e;
/* rgb */ color: rgb(240, 199, 78);
/* oklch */ color: oklch(84.4% 0.143 90.0);
Tailwind
colors: {
  custom: {
    50: '#f9d785',
    500: '#f0c74e',
    950: '#000000',
  },
}
SCSS
$custom: #f0c74e;
$custom-light: #f9d785;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c74e",
  "rgb": {
    "r": 240,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 44.815,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.14336,
    "h": 90
  },
  "luminance": 0.59922
}

Semantic roles & 50–950 ramp

primary
#F0C74E
secondary
#2E50B4
accent
#3CE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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