#CFB04F#CFB04F

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

Color values

HEX#CFB04F
RGBrgb(207, 176, 79)
HSLhsl(45, 57%, 56%)
HSVhsv(45, 62%, 81%)
CMYKcmyk(0%, 15%, 61.8%, 18.8%)
CIE-LABlab(72.81, 0.03, 52.64)
CIE-LCHlch(72.81, 52.64, 89.96°)
OKLaboklab(76.57% -0.0033 0.121)
OKLCHoklch(76.57% 0.121 91.6)
XYZxyz(42.6707, 44.8829, 13.8113)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB04F #4F6ECF
analogous
#CF704F #CFB04F #AECF4F
triadic
#CFB04F #4FCFB0 #B04FCF
tetradic
#CFB04F #4FCF70 #4F6ECF #CF4FAE
square
#CFB04F #4FCF70 #4F6ECF #CF4FAE
split-complementary
#CFB04F #4FAECF #704FCF
monochromatic
#816A23 #B19230 #CFB04F #DCC67F #E9DBAF

Accessibility & contrast

On white

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

On black

9.98
#CFB04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB04F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB04F#FFFFFF#000000##000000
##CFB04F1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb04f;
/* rgb */ color: rgb(207, 176, 79);
/* oklch */ color: oklch(76.6% 0.121 91.6);
Tailwind
colors: {
  custom: {
    50: '#e1c784',
    500: '#cfb04f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb04f;
$custom-light: #e1c784;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb04f",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 45.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.12108,
    "h": 91.6
  },
  "luminance": 0.44881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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