#CFB146#CFB146

#CFB146 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.129 H 93.4°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CFB146
RGBrgb(207, 177, 70)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 66%, 81%)
CMYKcmyk(0%, 14.5%, 66.2%, 18.8%)
CIE-LABlab(72.99, -1.06, 56.84)
CIE-LCHlch(72.99, 56.85, 91.07°)
OKLaboklab(76.69% -0.0075 0.1286)
OKLCHoklch(76.69% 0.129 93.4)
XYZxyz(42.5618, 45.1542, 12.2670)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB146 #4664CF
analogous
#CF6D46 #CFB146 #A9CF46
triadic
#CFB146 #46CFB1 #B146CF
tetradic
#CFB146 #46CF6D #4664CF #CF46A9
square
#CFB146 #46CF6D #4664CF #CF46A9
split-complementary
#CFB146 #46A9CF #6D46CF
monochromatic
#7B6720 #AB902C #CFB146 #DCC577 #E8DAA7

Accessibility & contrast

On white

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

On black

10.03
#CFB146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB146
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB146#FFFFFF#000000##000000
##CFB1461.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb146;
/* rgb */ color: rgb(207, 177, 70);
/* oklch */ color: oklch(76.7% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#e1c87e',
    500: '#cfb146',
    950: '#000000',
  },
}
SCSS
$custom: #cfb146;
$custom-light: #e1c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb146",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 46.861,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7669,
    "c": 0.12887,
    "h": 93.4
  },
  "luminance": 0.45152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB146

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

Preview Lab → · Contrast checker → · Palette generator →

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