#CFB54F#CFB54F

#CFB54F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.125 H 95.0°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CFB54F
RGBrgb(207, 181, 79)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 62%, 81%)
CMYKcmyk(0%, 12.6%, 61.8%, 18.8%)
CIE-LABlab(74.11, -2.60, 54.08)
CIE-LCHlch(74.11, 54.14, 92.75°)
OKLaboklab(77.6% -0.0109 0.1241)
OKLCHoklch(77.6% 0.125 95)
XYZxyz(43.6692, 46.8798, 14.1441)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB54F #4F69CF
analogous
#CF754F #CFB54F #A9CF4F
triadic
#CFB54F #4FCFB5 #B54FCF
tetradic
#CFB54F #4FCF75 #4F69CF #CF4FA9
square
#CFB54F #4FCF75 #4F69CF #CF4FA9
split-complementary
#CFB54F #4FA9CF #754FCF
monochromatic
#816E23 #B19730 #CFB54F #DCC97F #E9DDAF

Accessibility & contrast

On white

2.02
#CFB54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CFB54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB54F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB54F#FFFFFF#000000##000000
##CFB54F1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B244
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb54f;
/* rgb */ color: rgb(207, 181, 79);
/* oklch */ color: oklch(77.6% 0.125 95.0);
Tailwind
colors: {
  custom: {
    50: '#e1ca84',
    500: '#cfb54f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb54f;
$custom-light: #e1ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb54f",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 47.813,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.776,
    "c": 0.12459,
    "h": 95
  },
  "luminance": 0.46878
}

Semantic roles & 50–950 ramp

primary
#CFB54F
secondary
#A2ADD7
accent
#66E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB54F

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

Preview Lab → · Contrast checker → · Palette generator →

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