#CFB34D#CFB34D

#CFB34D is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.125 H 93.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CFB34D
RGBrgb(207, 179, 77)
HSLhsl(47, 58%, 56%)
HSVhsv(47, 63%, 81%)
CMYKcmyk(0%, 13.5%, 62.8%, 18.8%)
CIE-LABlab(73.57, -1.68, 54.38)
CIE-LCHlch(73.57, 54.41, 91.77°)
OKLaboklab(77.17% -0.0085 0.1245)
OKLCHoklch(77.17% 0.125 93.9)
XYZxyz(43.1938, 46.0436, 13.6319)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34D #4D69CF
analogous
#CF724D #CFB34D #AACF4D
triadic
#CFB34D #4DCFB3 #B34DCF
tetradic
#CFB34D #4DCF72 #4D69CF #CF4DAA
square
#CFB34D #4DCF72 #4D69CF #CF4DAA
split-complementary
#CFB34D #4DAACF #724DCF
monochromatic
#7F6B22 #AF942F #CFB34D #DCC87D #E9DCAD

Accessibility & contrast

On white

2.06
#CFB34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CFB34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB34D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB34D#FFFFFF#000000##000000
##CFB34D1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B042
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb34d;
/* rgb */ color: rgb(207, 179, 77);
/* oklch */ color: oklch(77.2% 0.125 93.9);
Tailwind
colors: {
  custom: {
    50: '#e1c983',
    500: '#cfb34d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34d;
$custom-light: #e1c983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34d",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 47.077,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77168,
    "c": 0.12478,
    "h": 93.9
  },
  "luminance": 0.46041
}

Semantic roles & 50–950 ramp

primary
#CFB34D
secondary
#A1ADD7
accent
#68E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34D

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

Preview Lab → · Contrast checker → · Palette generator →

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