#CFB348#CFB348

#CFB348 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.129 H 94.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CFB348
RGBrgb(207, 179, 72)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 65%, 81%)
CMYKcmyk(0%, 13.5%, 65.2%, 18.8%)
CIE-LABlab(73.53, -2.00, 56.55)
CIE-LCHlch(73.53, 56.58, 92.02°)
OKLaboklab(77.12% -0.01 0.1283)
OKLCHoklch(77.12% 0.129 94.5)
XYZxyz(43.0240, 45.9757, 12.7376)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB348 #4864CF
analogous
#CF7048 #CFB348 #A7CF48
triadic
#CFB348 #48CFB3 #B348CF
tetradic
#CFB348 #48CF70 #4864CF #CF48A7
square
#CFB348 #48CF70 #4864CF #CF48A7
split-complementary
#CFB348 #48A7CF #7048CF
monochromatic
#7C6921 #AD922D #CFB348 #DCC778 #E8DBA9

Accessibility & contrast

On white

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

On black

10.19
#CFB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB348
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB348#FFFFFF#000000##000000
##CFB3481.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb348;
/* rgb */ color: rgb(207, 179, 72);
/* oklch */ color: oklch(77.1% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#e1c980',
    500: '#cfb348',
    950: '#000000',
  },
}
SCSS
$custom: #cfb348;
$custom-light: #e1c980;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb348",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 47.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.12873,
    "h": 94.5
  },
  "luminance": 0.45973
}

Semantic roles & 50–950 ramp

primary
#CFB348
secondary
#9DA9D6
accent
#66E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB348

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

Preview Lab → · Contrast checker → · Palette generator →

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