#CFB04E#CFB04E

#CFB04E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.122 H 91.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CFB04E
RGBrgb(207, 176, 78)
HSLhsl(46, 57%, 56%)
HSVhsv(46, 62%, 81%)
CMYKcmyk(0%, 15%, 62.3%, 18.8%)
CIE-LABlab(72.81, -0.03, 53.09)
CIE-LCHlch(72.81, 53.09, 90.04°)
OKLaboklab(76.56% -0.0036 0.1219)
OKLCHoklch(76.56% 0.122 91.7)
XYZxyz(42.6346, 44.8684, 13.6211)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB04E #4E6DCF
analogous
#CF6F4E #CFB04E #AECF4E
triadic
#CFB04E #4ECFB0 #B04ECF
tetradic
#CFB04E #4ECF6F #4E6DCF #CF4EAE
square
#CFB04E #4ECF6F #4E6DCF #CF4EAE
split-complementary
#CFB04E #4EAECF #6F4ECF
monochromatic
#806A23 #B09130 #CFB04E #DCC57E #E9DBAE

Accessibility & contrast

On white

2.11
#CFB04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CFB04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB04E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB04E#FFFFFF#000000##000000
##CFB04E1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD43
Deuteranopia (green-blind)
#C9B652
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb04e;
/* rgb */ color: rgb(207, 176, 78);
/* oklch */ color: oklch(76.6% 0.122 91.7);
Tailwind
colors: {
  custom: {
    50: '#e1c783',
    500: '#cfb04e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb04e;
$custom-light: #e1c783;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb04e",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 78
  },
  "hsl": {
    "h": 45.581,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76564,
    "c": 0.12191,
    "h": 91.7
  },
  "luminance": 0.44866
}

Semantic roles & 50–950 ramp

primary
#CFB04E
secondary
#A2AFD7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB04E

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

Preview Lab → · Contrast checker → · Palette generator →

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