#CFB04A#CFB04A

#CFB04A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.125 H 92.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CFB04A
RGBrgb(207, 176, 74)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 64%, 81%)
CMYKcmyk(0%, 15%, 64.3%, 18.8%)
CIE-LABlab(72.77, -0.29, 54.85)
CIE-LCHlch(72.77, 54.85, 90.31°)
OKLaboklab(76.52% -0.0048 0.125)
OKLCHoklch(76.52% 0.125 92.2)
XYZxyz(42.4955, 44.8128, 12.8886)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB04A #4A69CF
analogous
#CF6D4A #CFB04A #ACCF4A
triadic
#CFB04A #4ACFB0 #B04ACF
tetradic
#CFB04A #4ACF6D #4A69CF #CF4AAC
square
#CFB04A #4ACF6D #4A69CF #CF4AAC
split-complementary
#CFB04A #4AACCF #6D4ACF
monochromatic
#7D6821 #AE902E #CFB04A #DCC57A #E9DAAB

Accessibility & contrast

On white

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

On black

9.96
#CFB04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB04A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB04A#FFFFFF#000000##000000
##CFB04A1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb04a;
/* rgb */ color: rgb(207, 176, 74);
/* oklch */ color: oklch(76.5% 0.125 92.2);
Tailwind
colors: {
  custom: {
    50: '#e1c781',
    500: '#cfb04a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb04a;
$custom-light: #e1c781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb04a",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 46.015,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76523,
    "c": 0.12513,
    "h": 92.2
  },
  "luminance": 0.4481
}

Semantic roles & 50–950 ramp

primary
#CFB04A
secondary
#9FACD6
accent
#6BE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB04A

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

Preview Lab → · Contrast checker → · Palette generator →

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