#CFB14D#CFB14D

#CFB14D is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.123 H 92.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CFB14D
RGBrgb(207, 177, 77)
HSLhsl(46, 58%, 56%)
HSVhsv(46, 63%, 81%)
CMYKcmyk(0%, 14.5%, 62.8%, 18.8%)
CIE-LABlab(73.05, -0.63, 53.82)
CIE-LCHlch(73.05, 53.82, 90.67°)
OKLaboklab(76.76% -0.0054 0.1233)
OKLCHoklch(76.76% 0.123 92.5)
XYZxyz(42.7958, 45.2478, 13.4993)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB14D #4D6BCF
analogous
#CF704D #CFB14D #ACCF4D
triadic
#CFB14D #4DCFB1 #B14DCF
tetradic
#CFB14D #4DCF70 #4D6BCF #CF4DAC
square
#CFB14D #4DCF70 #4D6BCF #CF4DAC
split-complementary
#CFB14D #4DACCF #704DCF
monochromatic
#7F6A22 #AF922F #CFB14D #DCC67D #E9DBAD

Accessibility & contrast

On white

2.09
#CFB14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CFB14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB14D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB14D#FFFFFF#000000##000000
##CFB14D1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE42
Deuteranopia (green-blind)
#CAB752
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb14d;
/* rgb */ color: rgb(207, 177, 77);
/* oklch */ color: oklch(76.8% 0.123 92.5);
Tailwind
colors: {
  custom: {
    50: '#e1c883',
    500: '#cfb14d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb14d;
$custom-light: #e1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb14d",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 77
  },
  "hsl": {
    "h": 46.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.12339,
    "h": 92.5
  },
  "luminance": 0.45246
}

Semantic roles & 50–950 ramp

primary
#CFB14D
secondary
#A1ADD7
accent
#6BE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB14D

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

Preview Lab → · Contrast checker → · Palette generator →

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