#CFB046#CFB046

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

Color values

HEX#CFB046
RGBrgb(207, 176, 70)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 66%, 81%)
CMYKcmyk(0%, 15%, 66.2%, 18.8%)
CIE-LABlab(72.73, -0.54, 56.57)
CIE-LCHlch(72.73, 56.57, 90.54°)
OKLaboklab(76.49% -0.006 0.1281)
OKLCHoklch(76.49% 0.128 92.7)
XYZxyz(42.3651, 44.7606, 12.2014)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB046 #4665CF
analogous
#CF6C46 #CFB046 #AACF46
triadic
#CFB046 #46CFB0 #B046CF
tetradic
#CFB046 #46CF6C #4665CF #CF46AA
square
#CFB046 #46CF6C #4665CF #CF46AA
split-complementary
#CFB046 #46AACF #6C46CF
monochromatic
#7B6620 #AB8F2C #CFB046 #DCC577 #E8DAA7

Accessibility & contrast

On white

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

On black

9.95
#CFB046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB046
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB046#FFFFFF#000000##000000
##CFB0461.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb046;
/* rgb */ color: rgb(207, 176, 70);
/* oklch */ color: oklch(76.5% 0.128 92.7);
Tailwind
colors: {
  custom: {
    50: '#e1c77e',
    500: '#cfb046',
    950: '#000000',
  },
}
SCSS
$custom: #cfb046;
$custom-light: #e1c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb046",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 46.423,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76485,
    "c": 0.12821,
    "h": 92.7
  },
  "luminance": 0.44758
}

Semantic roles & 50–950 ramp

primary
#CFB046
secondary
#9BA8D5
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB046

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

Preview Lab → · Contrast checker → · Palette generator →

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